Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    313

    Unanswered: How to lock the records

    Hi:
    In MS Access:

    In query:
    After I run the query, I still can edit the records, after I edited the records, the table will change the data automatically.
    So, how can I lock the records of the query?

    Thanks.

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    Use a disconnected recordset.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Sep 2005
    Posts
    313
    Where can I find disconnected recordset in the queries?

    I don't get it.
    Thanks.

  4. #4
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,420
    Provided Answers: 7
    why not just set the form toallow edit = no
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

  5. #5
    Join Date
    Apr 2003
    Location
    Alabama, USA
    Posts
    154
    In the design view of your query (if you are using the graphical query builder), right click in the area where the tables are being shown. Under the "Recorset Type", choose "Snapshot".

    Under "Record Locks", you can set if to the following choices
    - No Locks
    - All Records
    - Edited Record

    See the help file for more on the options.
    http://AccessDB.Info

    You live and learn. At any rate, you live. - Douglas Adams

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •