MS Access row locking

Hi all,
   I'm using MS Access as my database, I want to make the MS Access to be shared in a small LAN (2-3 workstation). Is it possible to do a row locking using MS Access. So other people is not allowed to do update (except query) when other people is doing updating. Or is there any other way to control my database. I'm developing my application using Visual Basic.


Thanks in advanced

Ezree
ezreeAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
As you have VB, you use ADO or DAO to read the records. Now they have properties that enable you to define the locking method. Thus you could lock the rows, as long as you keep the recordset open, so anybody else could update them.
You have different lock modes, ie:
Lock Pessimistic (the strongest one), avoiding modification of data from any other connection.
Lock Optimistic, locking the records only as soon as you start the modification of the record(s).
Read Only, not locking the records at all...

Cheers
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
True row locking is not possible in Access...
but you might look into the Pessimistic locking for records...

CHeers
0
 
ezreeAuthor Commented:
angellll,
    What d ya mean by Pessimistic locking for records...

Thnks in advanced

Ezree
0
 
Eric AKA NetminderCommented:
Since June...

Questions Asked 12
Last 10 Grades Given A B  
Question Grading Record 2 Answers Graded / 2 Answers Received
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.