ACC2: "Reserved Error" Message with No Error Code (126825)
The information in this article applies to:
This article was previously published under Q126825 SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you use the SetFocus method in an event procedure, you receive the
error message "Reserved Error" without any other error code or explanation.
CAUSE
The form containing the event procedure is based on a table or query with
no records, and the form is either read-only or its DefaultEditing property
is set to Read Only or Can't Add Records. The SetFocus method must identify
the current record before it can move the focus to another control. If
there are no records and you cannot create a new record, then there is no
current record. An attempt to identify the current record results in an
error.
RESOLUTION
Make sure that the table or query on which the form is based contains at
least one record, or include logic in your event procedure to avoid using
the SetFocus method if there are no records.
STATUS
This behavior no longer occurs in Microsoft Access version 7.0.
Modification Type: | Major | Last Reviewed: | 11/6/2000 |
---|
Keywords: | kberrmsg kbprb kbusage KB126825 |
---|
|