Hi Diarmuid ,
We can try the following code to set the default record locking to Edited
Record.
Application.SetOption "Default Record Locking", "2"
Sincerely,
Alick Ye, MCSD
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: "diarmuidq" <
[email protected]>
| References: <
[email protected]>
<#
[email protected]>
|
| That worked. I had only ticked the Edited Record option. Is there a way to
| set this through code?
| Thanks
| Diarmuid
|
| | > | > > Using Access 2000, editing a record locks the page. As far as I know,
| > > that is the limit in Access 2000.
| > > Is it possible in XP or 2003 to only lock the record itself? Or is
| > > there no way of doing this.
| > > Thanks
| > > Diarmuid
| >
| > You need to open the database with record-level locking -- there's a
| > check box for that on the Advanced tab of the options dialog. As I
| > understand it, in a multi-user database, the first user to open the
| > database sets the locking option.
| >
| > --
| > Dirk Goldgar, MS Access MVP
| >
www.datagnostics.com
| >
| > (please reply to the newsgroup)
| >
| >
|
|
|