Results 1 to 4 of 4
  1. #1
    RemonKoybito is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2011
    Posts
    10

    Red face Making a toggle button hide a text box.

    Hello everyone, and thanks for reading. I've never worked with access before but I just got an internship and I'm going to be in charge of revamping the client database. I bought a step-by-step access book, so I know the basics, but I still need help.

    My boss wants our new forms to have a text box that can be hidden, to put notes about problems we've had with clients. They can't see it since the forms are going to be filled out with the client sitting next to us. It also needs to be super simple, since this is a nonprofit and volunteers are going to be filling it out most of the time.

    I've done some reading about check boxes hiding text, but I want a larger button so it's easier to read. In what I've read you need to bind the button with the text box so it toggles it being visible or not. How do I do this? And then what code or macro or whatever would I use on the buttons click?



    I named the button "ToggleButton" and the text box "SecretClientInfo".

    Thanks so much!

  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,640
    You can use this technique:

    http://www.baldyweb.com/ConditionalVisibility.htm

    A toggle button has a value of True or False (-1/0).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    RemonKoybito is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2011
    Posts
    10
    Oh my gosh, thank you! I can't believe it was so easy. You're an all star!

  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,640
    Happy to help, and welcome to the site!
    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. Toggle Button on Bound Form
    By P5C768 in forum Forms
    Replies: 7
    Last Post: 12-30-2010, 03:00 PM
  2. Replies: 1
    Last Post: 09-13-2010, 01:57 PM
  3. Toggle Button Options
    By Matthieu in forum Forms
    Replies: 2
    Last Post: 11-23-2009, 04:05 PM
  4. Replies: 3
    Last Post: 10-16-2009, 07:54 AM
  5. 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

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