• 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 16.1 lists the properties of the Err object.

Table 16.1. Properties of the Err Object
PropertyDescription
DescriptionDescription of the error that occurred
HelpContextContext ID for the Help file
HelpFilePath and filename of the Help file
LastDLLErrorLast error that occurred in a 32-bit dynamic link library (DLL)
NumberNumber of the error that was set
SourceSystem in which the error occurred (which is extremely useful when you are using object linking and embedding [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