Alison Balteramp;#039;s Mastering Microsoft Office Access 1002003 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Alison Balteramp;#039;s Mastering Microsoft Office Access 1002003 [Electronic resources] - نسخه متنی

Alison Balter

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



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

Property

Description

Description

Description of the error that occurred

HelpContext

Context ID for the Help file

HelpFile

Path and filename of the Help file

LastDLLError

Last error that occurred in a 32-bit dynamic link library (DLL)

Number

Number of the error that was set

Source

System 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)

The Err object has only two methods: Clear and Raise. The Clear method enables you to clear an error condition explicitly. This is used primarily when you write code that uses the On Error Resume Next statement. This statement does not clear the error condition. Remember that there is no reason to issue the Clear method explicitly with any type of Resume, Exit Sub, Exit Function, Exit Property, or On Error Goto, or End Sub statement. The Clear method is implicitly issued when these constructs are used. The Raise method of the Err object is covered in the next section.


/ 544