Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Receive error "Record is deleted" when opening table

Posted on 2011-02-14
14
278 Views
Last Modified: 2012-05-11
I have been asked to look at an Access 2003 database I did not create.  The problem is an error, "Record is deleted",  appears when I try to open the table.  This is a recurring problem with a database that about 30 people use at the same time.  It also has about 180 fields in this table.

After researching I have found that this can happen when two people have the same record open and one changes or deletes the record then closes the database before the other.  The fix is to Compact and Repair, which I have done.  I can then open the table.  Tthe first record has multiple # signs in many, but not all, of the fields.  I checked and the Edited Records property is set to No Locks.  Would changing this property to Edited Record fix the problem or could there be something else that is wrong and needs to be done?  Your help is greatly apprecaited.
0
Comment
Question by:avlna
  • 7
  • 7
14 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34887449
i would set the records lock property to Edited record to prevent this thing from happening.
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 34887472
setting the record locks property to Edited records, the record is locked as the user started editing any field in the record and will remain locked until the user close the form or move to another record.
this assures that only one user can edit a record at a time.
0
 

Author Comment

by:avlna
ID: 34887536
Why are there so many # signs in this record?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34887596
if i am not mistaken, those signs of deleted record.
does it go away when you  did a compact and repair?
0
 

Author Comment

by:avlna
ID: 34887630
No, they are still there.  Prior to the compact and repair I couldn't open the table.  After I repaired it then I could open it and I saw the first record with the # signs.

There also isn't a key field in this table.  Would it help to add an AutoNumber field?
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34887652
all the fields have the # sign?

backup your db first.

can you delete the record with the # sign?
0
 

Author Comment

by:avlna
ID: 34887706
No, not all the fields have # signs.  It looks like all of the text fields, but not the dates or checkboxes.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34887733
can you select the field, then copy and paste to Notepad?
what does it show in Notepad?
0
 

Author Comment

by:avlna
ID: 34887910
In Notepad it shows all of the # signs plus zeros.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34888098
that record is corrupted..
0
 

Author Comment

by:avlna
ID: 34888366
I've changed the Form's Record Locks property to Edited Record and added a Autonumber Primary Key to the table.  I deleted the record and now that the records are locked I hope no one will be able to create this record with nothing but # signs.

 I'm going to have the users start to get in a few at a time.  There are 44 of them.  Hopefully, this will work.
0
 

Author Comment

by:avlna
ID: 34888719
Well, that didn't work.  Now only one person can open it and the rest of them receive the following:

"The database has been placed in a state by user 'Admin' on machine (user's PC name) that prevents it from being opened or locked".  Am going to cahnge the Record Locks back to No Locks.  Any ideas?
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34888791
you may need to split your application into backend and frontend

see how and why from this link

Split your Access database into data and application
http://allenbrowne.com/ser-01.html
0
 

Author Comment

by:avlna
ID: 34888859
It turns out it did work fine for some but probably after the Admin user logged out.  Can this have anything to do with individual rights?  Why is it doing this?

I split all of my databases but this was created by someone else.  I'm going to discuss this with him first so I don't step on any toes.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to use shortcut menus in the Access run-time environment.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question