Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / July 2007

Tip: Looking for answers? Try searching our database.

Form.RecordLocks=EditedRecord: Is it that simple?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
(PeteCresswell) - 23 Jul 2007 00:45 GMT
Access 2003/Access 11.

If I just set the form's .RecordLocks=EditedRecord will that
allow other users to edit records in the same block?  

i.e. Will only the current row be locked - and not the entire
block it resides in?

Seems too easy..... -)
Signature

PeteCresswell

Allen Browne - 23 Jul 2007 02:34 GMT
That should be the case if you also check:
   Open Databases using record-level locking
under:
   Tools | Options | Advanced

However, if another user who is not using record-level locking opens the
database first, you are back to page-level locking, so you are back to page
locking again.

Pete, I probably should also mention that I've had some code fail when
record-level locking is turned on. The code was for merging a duplicate
client into another, along with all their related records (so several tables
affected) inside a transaction. Once record-level locking as turned off, the
code ran fine.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

> Access 2003/Access 11.
>
[quoted text clipped - 5 lines]
>
> Seems too easy..... -)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.