• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using the Err Object

The Err object contains information about the most recent error that occurred. As with all Access objects, it has its own built-in properties and methods. Table 17.1 lists the properties of the Err object.

Table 17.1. Properties of the Err object.
PropertyDescription
DescriptionDescription of the error that occurred
HelpContextContext ID for the Help file
HelpFilePath and file name of the Help file
LastDLLErrorLast error that occurred in a 32-bit DLL
NumberNumber of the error that was set
SourceSystem in which the error occurred (which is extremely useful when you are using OLE automation to control another application, such as Excel)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint