Lock particular tables in Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anuragshrivastava64
    New Member
    • Jan 2007
    • 66

    Lock particular tables in Database

    Hi All,
    Is it possible anyway to lock only a few tables in ms-access database.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    try this sample code if using DAO

    [CODE=vb]
    Dim D As Database
    Dim S As Recordset

    Set D = OpenDatabase("E :\DAS\EMP.MDB", True)
    Set S = D.OpenRecordset ("EMPLOYEE", dbOpenTable, dbDenyRead + dbDenyWrite)[/CODE]

    Comment

    Working...