Results 1 to 6 of 6
  1. #1
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70

    RecordLocks Property

    I created a database (frontend and backend) that links to a SQL database and an AS400 database. There are some linked Access tables and a few local tables (in the frontend) that allows users to customize their environment. I have all the queries and forms local (in the frontend).



    This database will replace a different Access database (that I did not write) that consistently locks everyone out ... forever. In order to use it again, they have to replace it with a backup, which often means losing data.

    My question is ... do I need to change the default RecordLock property from "No Locks" to "Edited Records" to keep from having this problem, or will having everything but the linked tables local solve this problem? Is there any risk in having everything but the linked tables local?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,970
    Why is data saved in frontend? Even user custom settings should be stored in backend so that frontend revisions can be provided to users without loss of data.

    Review this http://www.databasedev.co.uk/multi-u...d-locking.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70
    There are only a couple of tables in the frontend, and it's something most techs would change often, sometimes multiple times a day, so data loss isn't a worry.

    I'm just going to change the recordlocks to "edited records". I was just wondering if having the queries and forms local would solve the record lock problems that plague the other database.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,970
    I have a split design project. Backend has only tables. Front end has all forms, queries, reports. Each user has copy of frontend on their local workstation. Very rarely get a record lock conflict.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70
    Good, that's what I was hoping to hear! Thank you!

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,970
    Yes, but the lack of conflict is probably because users seldom edit the same record at same time. Also, they are not generating reports that would retrieve a record that someone might be editing.

    I also have another very small project that is not split, has multiple simultaneous users (about 4) and all users run the same file. Data entered/edited by any user is reflected in all instances of the project. I am amazed at how well it works.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. the property is read only and cannot be set
    By darksniperx in forum Access
    Replies: 16
    Last Post: 11-02-2012, 02:48 PM
  2. SQL vs. vba Row Source property
    By eww in forum Programming
    Replies: 7
    Last Post: 10-15-2010, 11:02 AM
  3. Create Property
    By RAPSR in forum Programming
    Replies: 2
    Last Post: 10-12-2010, 12:39 AM
  4. Can Grow Property
    By chum in forum Reports
    Replies: 3
    Last Post: 01-25-2010, 11:10 AM
  5. 'On Open' Property
    By emilylu3 in forum Forms
    Replies: 1
    Last Post: 12-08-2005, 02:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums