Record Locking in Multi-User environment

parry

MrExcel MVP
Joined
Aug 20, 2002
Messages
3,355
Hi, Ive looked through the Help in Acces but cant find an answer to this. Im aware that there are three options for record locking - No locks, all records and edited record. I want my database to have editing records option, but it appears that this option (tools-options-advanced tab) applies at the user level, so different users may have different record locking options when they open the database.

Is there an "On Open" type event that I can put in a module to set the record locking at database level? If so, what VBA method do i use - locking metho seems to apply to a recordset not the database.

cheers
Parry

_________________
cheers
Parry
This message was edited by parry on 2003-01-14 17:17
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi Parry,

AFAIK, record-locking is usually handled via forms (at least that's how I do it). Do you have users that are accessing tables directly?

-Russell
 
Upvote 0
Hi thanks Russell. I didnt realise you could lock the records at form level. I will try that.
 
Upvote 0

Forum statistics

Threads
1,221,501
Messages
6,160,175
Members
451,629
Latest member
MNexcelguy19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top