Adding records

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi

I was adding record on my databas Access from my code
using ADO.

I was able to add many record but during the process I've
got this mesage:

Could not Update; currently locked by user 'admin' on
machine 'STAT-1'

STAT-1 is the name of my machine

How can the Databse will be locked if I didn't do it, and
how can I Unlocked

Thank you
 
Could not Update; currently locked by user 'admin' on
machine 'STAT-1'

STAT-1 is the name of my machine

How can the Databse will be locked if I didn't do it, and
how can I Unlocked

This error can arise if you crashed out of Access or otherwise left it
in an abnormal state.

First try deleting the .ldb file in the same folder and with the same
name as your .mdb file. Then, compact and repair the database.

If this doesn't work, see Tony's corruption FAQ at

http://www.granite.ab.ca/access/corruptmdbs.htm
 
Back
Top