ACC97: How to Force the IsBroken Property to Return True (186720)
The information in this article applies to:
This article was previously published under Q186720 SYMPTOMS Advanced: Requires expert coding, interoperability, and
multiuser skills. In Microsoft Access, IsBroken is a property of the
References collection. The Microsoft Access Help topic on the Isbroken property
states the following: The IsBroken property returns a Boolean value indicating whether a
Reference object points to a valid reference in the Windows Registry.
Although this statement is correct, to receive this Boolean value
you must trap for errors that are generated by the broken reference. Also, the
IsBroken property becomes True only when the file being referenced is deleted
and the Microsoft Windows Recycle Bin is emptied. This article details the
steps necessary to receive the Boolean value. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. RESOLUTION If you want to force the IsBroken property to return True,
you must first trap the standard error message, and then use the IsBroken
property.
Modification Type: | Minor | Last Reviewed: | 9/13/2006 |
---|
Keywords: | kbprb kbProgramming KB186720 |
---|
|