Results 1 to 3 of 3
  1. #1
    scowens36 is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    2

    Exclamation set value in combo box based off check box

    I am looking for either VB code or Macro setting that will set the value in a combo box if a certain check box is selected on my form. Reason for this is I have data entry people forgetting to set the overall status of a packet when we receive it. So I am wanting the overall status to be set to "Received" in my combo box (There are multiple status that a package can have in this combo box) when they check the Received checkbox. Any help would be appreciated... Thanks..

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    In the afterupdate event for the check box try:
    Code:
    If me.checkbox.value = -1 Then
    me.combobox.value = "Received"
    End if
    change the names of the controls checkbox and combobox to your control names.

  3. #3
    scowens36 is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    2

    Thumbs up Problem Solved

    alansidman, Thanks for the help. It is working great. No more data correcting for this issue. This will make a big difference.

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

Similar Threads

  1. Check Box to Combo Box
    By Yakisobi in forum Access
    Replies: 1
    Last Post: 07-21-2011, 06:59 PM
  2. Replies: 5
    Last Post: 01-02-2011, 10:09 AM
  3. Queries Based On Check Boxes
    By Rubz in forum Queries
    Replies: 7
    Last Post: 05-07-2010, 03:46 PM
  4. Check for numbers in a combo box
    By slenish in forum Programming
    Replies: 2
    Last Post: 03-17-2010, 07:03 PM
  5. Replies: 1
    Last Post: 08-26-2009, 10:45 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