ACC2000: "#Deleted" Unexpectedly Appears in Memo Field
ID: Q237333
|
The information in this article applies to:
Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
After you edit a Memo field in a Microsoft Access database, "#Deleted" appears in the field, and the original information is lost.
If you try to use the "Compact and Repair Database" utility on the database, the field may have several number signs in it, as the follows:
################
CAUSE
Multiple instances of Microsoft Access are editing the Memo field at the same time. This behavior commonly occurs in an environment where multiple users are using the same shared database on a network.
RESOLUTION
Retype the information in the field. If necessary, retrieve the missing information from a backup copy of the database.
To avoid this behavior, you can implement row-level locking in the database. To do so, follow these steps:
-
Open the database in exclusive mode. If you have Access security implemented, ensure that you open the database with Administer permissions.
-
On the Tools menu, click Options.
-
In the Options dialog box, click Advanced.
-
Under Default Record Locking, click Edited Record, and click OK.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
CAUTION: Following the steps in this example will modify the sample
database Northwind.mdb. You may want to back up the Northwind.mdb file
and perform these steps on a copy of the database.
Steps to Reproduce Behavior
-
Open the sample database Northwind.mdb.
-
Copy the Employees table to a new table called Employees2. For demonstration purposes, this instance of Access will be referred to as Instance A.
-
Open a second instance of Access and open the Employees2 table. This instance will be referred to as Instance B.
-
Switch back to Instance A and open the Employees2 table.
-
Add ten ones (1111111111) to the end of the Notes field in the last record, but do not save the record. Leave the pointer in the field.
-
Switch to Instance B, and open the Employees2 table.
- Add ten twos (2222222222) in the same Notes field in the same record. Do not save the record.
-
Switch to Instance A and save the record by pressing SHIFT+ENTER.
-
Switch to Instance B and save the record by pressing SHIFT+ENTER. When prompted, click Save to save the changes.
-
Move off the record by clicking any another record.
-
Switch to Instance A. Note that the field contains "#Deleted."
REFERENCES
For more information about record-level locking, click Microsoft Access Help on the
Help menu, type record locking in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Additional query words:
pra
Keywords : kbdta GnlBaddb TblProb
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug