ACC: Dirty Property Not Recognized on Unbound FormsID: Q121677
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you reference the Dirty property of an unbound form (a form that is
not based on a table or query), you may receive the following error
message.
In Microsoft Access 7.0 and 97:
Run-time error '2455': You entered an expression that has an invalid reference to the property Dirty
Invalid reference to field 'Dirty'
The Dirty property is unavailable on unbound forms. The Dirty property was intended to indicate if the current record in the forms recordset is in edit mode. Because an unbound form has no recordset (the RecordSource property is blank) the Dirty property is not available.
Set the form's RecordSource property to a table, query, or SQL statement.
This behavior is by design.
For more information about the Dirty property, search the Help Index for "Dirty," or ask the Microsoft Access 97 Office Assistant.
Keywords : kberrmsg FmsProp
Version : 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 8, 1999