HelpContext, HelpFile Properties

Applies To   Error object.

Description

Remarks

If you specify a Microsoft Windows Help file in HelpFile, you can use the HelpContext property to automatically display the Help topic it identifies.

Note You should write procedures in your application to handle typical errors. When programming with an object, you can use the Help supplied by the object's Help file to improve the quality of your error handling, or to display a meaningful message to your user if the error is not recoverable.

See Also   Description property, Number property, Source property.

Specifics (Microsoft Access)

The DAO HelpContext and HelpFile properties apply to the Error object. You can set them only by using Visual Basic.

Note   Don't confuse these properties with the Microsoft Access HelpContextID and HelpFile properties. These properties are similar, but they apply only to forms, reports, and controls. You can set them by using Visual Basic, a macro, or the property sheet within form Design view or report Design view.

Example

See the Description property example.