Results 1 to 3 of 3
  1. #1
    cggriggs is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2011
    Posts
    4

    Locking a field inside a form


    Other than using the properties sheet to lock an individual field, How can one toggle a field on and off.
    I created a form that users will be entring and changing data for individual records but need to lock a few of the fields once the data is entered but leave other fields in the table alone after it is entered so that it cannot be changed, then toggled back on if the data for the turned off field needs changing.
    Thanks. I am new to the forum.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Would have to use code to reset the Enabled or Locked or Visible property of the control on the form. I only use VBA, don't know if macros can do this.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    cggriggs is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2011
    Posts
    4
    Thanks. That's what I had to do. It works!

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

Similar Threads

  1. Locking Down Form
    By jo15765 in forum Forms
    Replies: 5
    Last Post: 11-16-2010, 04:44 PM
  2. Locking form with Visual Basic
    By rev_ollie in forum Forms
    Replies: 4
    Last Post: 04-29-2010, 07:27 AM
  3. Multiple valued field locking tables
    By Jamy in forum Programming
    Replies: 6
    Last Post: 02-19-2010, 11:24 AM
  4. Can access have a table view inside a form
    By mossman in forum Access
    Replies: 5
    Last Post: 01-17-2010, 12:19 PM
  5. Replies: 1
    Last Post: 08-03-2009, 08:24 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