Results 1 to 5 of 5
  1. #1
    KevinMCB is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    29

    Form Checkbox/combobox help


    Hey guys,

    I am fairly new to access and having a bit of trouble. In my database I have a table with a checkbox option for an inventory audit. (ex. is it there or not?) I have created a good form for it as well. Now I am trying to open the form from the home page with a combo box and a button, the combo box selecting the location of the inventory. Ex. building 1 or building 2.

    However, I only want the form to show the inventory with the box unchecked. I am using an append querry to pull the data from a master table into my audit table every month.

    Basically I need to the equation form for the macro on the button I am using to open the form. What should the checkbox value equal in the equation etc. ex. =1 if checked =0 if empty or something. Thanks for taking a look at my problem!

  2. #2
    KevinMCB is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    29
    Got it figured out. Please disregard this thread.

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Care to share your solution with the others that read this Forum? You might also want to use the Thread tool and mark this thread as Solved.

  4. #4
    KevinMCB is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    29
    I need to set the checkbox =0 for the form to pull the unchecked records. From there it was just your standard equation for tying the open form button to the combo box. Something like this:

    [Table with Audit info from append query]![Located]=0 And [DLR]=[Forms]![Homepage]![Combo box name]

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for posting back with your solution.

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

Similar Threads

  1. Replies: 29
    Last Post: 08-16-2011, 05:52 PM
  2. Disable checkbox on a form
    By caffe in forum Forms
    Replies: 2
    Last Post: 09-16-2010, 07:37 AM
  3. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  4. Replies: 0
    Last Post: 12-16-2009, 01:14 PM
  5. Checkbox in continous form
    By senthilrg in forum Access
    Replies: 11
    Last Post: 12-05-2009, 08:49 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