Results 1 to 4 of 4
  1. #1
    pbouk is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Nov 2012
    Posts
    58

    Lock a field on a form

    Hi there, I have a form that I would like to make view-only.
    It has two subforms on it, and there are other fields on the main form.
    I have locked the subforms, but I can't lock the main form because I have two search boxes on it.
    Is it ok to go to Data-> Lock for all the remaining fields I wish to lock? That way I can keep using my combos but have all other fields locked.

    I can't find much about this, so not sure if there are other ramifications I'm not aware of....

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    That should be fine to prevent the user editing them. You can select many text boxes at once and set them all at the same time.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    pbouk is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Nov 2012
    Posts
    58
    thanks! I've done it and all seems to be well.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 06-25-2012, 08:30 PM
  2. Lock a field after data has been entered
    By winterh in forum Forms
    Replies: 8
    Last Post: 03-15-2012, 03:32 AM
  3. Replies: 3
    Last Post: 03-13-2012, 12:02 PM
  4. Replies: 4
    Last Post: 01-23-2011, 09:01 PM
  5. Lock Field based on other field value
    By diane802 in forum Access
    Replies: 5
    Last Post: 01-14-2010, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums