We use Access 2000 the track call information in our call center (35-45
users at once). The problem we are having is the database locks periodically
as if I have the RecordLocks property set to 2- "Edited Record". All of the
forms, queries and reports are set to 1-"No Locks".
When it locks, no one can do anything in the database until the user
locking moves to the next record. Any thoughts on why this might be
happening.
Er, it is happening because multi-user databases *must* lock records at
certain times to guarntee data integrity!
For example, say user 'A' displays a record 'R'. Then user 'B' displays the
same record 'R'. Then user 'A' changes field 'X' from 11 to 22, and saves
the record. Now user 'B' changes field 'Y' from 33 to 44, and saves the
record. Oops! User 'A's change (of 'X' from 11 to 22) is now wiped out -
invisibly to both users!
Jet (the database engine for Access) will automatically lock record 'R' at
approriate times to prevent this & similar cases occurring. The lock will
remain until the appropriate user(s) save the record or discard their
changes & start again. That's the way it's gotta be!
Up to Access 97, whole "pages" or records were locked. So locking record 'R'
would also lock any other records on the same "page". (That might be no
records, or a few records, or many records, depending on the record sizes.)
As from Access 2000 (?), you can get true "record level" locking, but I'm
not sure how (& don't have Access here to check).
HTH,
TC