Results 1 to 2 of 2

Thread: Opening a table exclusevely

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Caracas, Miranda, Venezuela
    Posts
    69

    Post

    Please help me !!!
    How can I Open a table and not the rest of tables from VB exclusevely.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Use the Options Flags, ie.

    Set oRS = oDB.OpenRecordset("Table1", dbOpenTable, dbDenyRead Or dbDenyWrite) 'Open Table1 Exclusively, Don't Allow anyone else to Read/Write with the Table

    The Lock is Released when the Recordset is Closed.

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