ACC: DefaultEditing Property Replaced in MS Access 95 and 97ID: Q131587
|
Moderate: Requires basic macro, coding, and interoperability skills.
You cannot access the DefaultEditing form property in the Microsoft Access
7.0 and 97 user interface. Instead, you can use the new AllowEdits,
AllowDeletions, AllowAdditions, and DataEntry properties.
DefaultEditing is still available programmatically to maintain backward
compatibility; however, it is strongly encouraged that you use the new form
properties. Programmatic changes to DefaultEditing will map to and alter
the appropriate new form properties listed above. (See the "How the
DefaultEditing Property Settings Map to the New Form Properties" section
later in this article.)
Microsoft Access 7.0 and 97 use the following four properties instead of
the DefaultEditing property:
AllowEdits: Determines whether existing records are read-only or
if you can edit them.
AllowDeletions: Determines whether you can delete existing records.
AllowAdditions: Determines whether you can add new records.
DataEntry: Determines whether the form shows only the new record
row for adding new records, or whether the form also
shows the existing records.
AllowEdits: No
AllowDeletions: No
AllowAdditions: Yes
DataEntry: No
DefaultEditing AllowEdits AllowDeletions AllowAdditions DataEntry
Setting
----------------------------------------------------------------------
Allow Edits Yes Yes Yes No
Read Only No No No No
Data Entry Yes Yes Yes Yes
Can't Add
Records Yes Yes No No
Keywords : kbusage FmsProp
Version : 7.0 97
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: April 30, 1999