• Setting Access options (2000 – 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Setting Access options (2000 – 2003)

    Author
    Topic
    #403993

    Is there anyway to check what options a user has set in their Access environment ?
    – specifically what they’ve got “Default record locking” set to ?

    Even better, is there someway to set it in VBA

    Viewing 1 reply thread
    Author
    Replies
    • #818497

      Look up GetOption and SetOption in the online help for Access VBA. For a list of options, look up “Set Options from Visual Basic”.

      Dim bytRecordLocking As Byte
      bytRecordLocking = Application.GetOption(“Default record locking”)

      Application.GetOption(“Default record locking”) = 2 ‘ Edited record

      0 = no locking
      1 = all records
      2 = edited record

    • #818498

      Look up GetOption and SetOption in the online help for Access VBA. For a list of options, look up “Set Options from Visual Basic”.

      Dim bytRecordLocking As Byte
      bytRecordLocking = Application.GetOption(“Default record locking”)

      Application.GetOption(“Default record locking”) = 2 ‘ Edited record

      0 = no locking
      1 = all records
      2 = edited record

    Viewing 1 reply thread
    Reply To: Setting Access options (2000 – 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: