Results 1 to 3 of 3
  1. #1
    TimC is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    34

    Hide/Unhide Button to Conceal Confidential Info

    I really need some help. I am trying to develop a hide/unhide button to conceal employee birthdates on my form. I have viewed previous posts on the web and found the code below. I have EVENT-ON CLICK set to [Event Procedure] for the hide button and EVENT AFTER UPDATE set to [Event Procedure] for the DOB , but I cannot seem to get it to work. A copy of my database is attached. Your assistance would be greatly appreciated. Thanks.

    Private Sub HideDOB_Click()



    Me.DOB.Visible = Not Me.DOB.Visible

    End Sub

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    I am unable to open the file you attached with A2003.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    TimC is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    34
    New attachment in accdb format. Thanks.

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

Similar Threads

  1. Replies: 2
    Last Post: 06-06-2012, 10:53 AM
  2. Hide and unhide arrows
    By tarhim47 in forum Programming
    Replies: 1
    Last Post: 09-20-2011, 07:54 PM
  3. Hide or Unhide Fields in Query using VB
    By SCFM in forum Programming
    Replies: 4
    Last Post: 03-12-2010, 01:24 PM
  4. How can I hide/unhide DB window with a single button?
    By aquaraider in forum Programming
    Replies: 2
    Last Post: 10-09-2009, 07:01 AM
  5. Hide/UnHide forms
    By access in forum Forms
    Replies: 3
    Last Post: 06-03-2009, 07:48 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