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

    Unanswered: Security - read-only data

    I have a question for Security.

    I setup one user to only read-only data in one form,
    the form have 2 buttons, which are generated code,
    I write the code in these 2 buttons.

    when the user click either one of the buttons,

    it has message:
    run-time error: '3326'
    The Recordset is not updateable.

    and then view the code I wrote.

    How can I set another error message, like "You do not have permission",
    I don't want the user to view the code, and see "The Recordset is not updateable".

    Please.
    Thanks.

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    then deploy you applciation as an MDE. However IF you choose to go down that route then make certain that you keep you design master (MDB) soemwhere safe -as you cannot make changes to the design of an MDE file.

Posting Permissions

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