Results 1 to 2 of 2

Thread: How can I lock a table? Please help me!!!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Caracas, Miranda, Venezuela
    Posts
    69
    How can I lock a table (Recordset) to avoid generate duplicate records with the same value in one of its fields, while I adding a record in a multiuser enviorement.?
    Please, help ASAP!!!!

  2. #2
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600
    Hi Rafael,

    I am not a SQL whiz, but you should be able to Execute a Select Statement before updating the Recordset to make sure that a duplicate is not included. Or if not SQL, you can use a RS.Find (or something like that) method to see if the record exists.

    Hopefully someone reading this will give you the exact syntax of how to do the methods suggested above.

    All the best.

Posting Permissions

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



Click Here to Expand Forum to Full Width