Results 1 to 2 of 2
  1. #1
    MorganM is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Dec 2013
    Posts
    3

    Show/hide a query field from a checkbox in a form instead of the checkbox in query design mode

    I would like to have a checkbox in a form that can show/hide a query field instead of using the checkbox in query design mode. Is this possible to do without getting too complex with code?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Depends what you mean by 'too complex'.

    Code behind form can hide/unhide controls but this doesn't work nice if form is in Continuous or Datasheet view.

    A textbox or combobox can have Conditional Formatting that will enable/disable it depending on condition. In this case the condition could be the value of another control, such as a checkbox.
    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.

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

Similar Threads

  1. Query Based on Form Checkbox
    By tylerpickering in forum Queries
    Replies: 4
    Last Post: 11-11-2014, 09:32 AM
  2. Checkbox to Hide Fields not working
    By KerryAustin in forum Forms
    Replies: 2
    Last Post: 08-29-2014, 08:25 AM
  3. Replies: 3
    Last Post: 01-14-2014, 04:17 PM
  4. Form Checkbox Query
    By rlsublime in forum Access
    Replies: 1
    Last Post: 03-12-2012, 12:10 PM
  5. hide checkbox in a form
    By hung_ko in forum Forms
    Replies: 11
    Last Post: 01-26-2011, 11:50 AM

Tags for this Thread

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