IsBroken Property

Applies To

Reference object.

Description

The IsBroken property returns a Boolean value indicating whether a Reference object points to a valid reference in the Windows Registry.

Setting

The IsBroken property is available only by using Visual Basic and is read-only.

The default value of the IsBroken property is False (0). The IsBroken property returns True (–1) only if the Reference object no longer points to a valid reference in the Registry.

Remarks

By evaluating the IsBroken property, you can determine whether or not the file associated with a particular Reference object has been moved to a different directory or deleted.

If the IsBroken property is True, Microsoft Access generates an error when you try to read the Name or FullPath properties.

Example

See the FullPath property example.