Results 1 to 9 of 9
  1. #1
    Desstro's Avatar
    Desstro is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    185

    Question Combo Box and Option Group Values

    Attached is an image for better understanding of my question.

    As you will see by the form I have two combo boxes and two option groups.

    Looking at the query, you'll notice that for package numbers 1 and 2 the program and facility area is what I want it to look like. For package number 3 on the query it is returning the value of CIP and FS1.



    I am also having the same problem with my option groups....notice on the query that package number 1 is returning a value of "2" for shift and on the form, "nightshift" is selected.

    My obvious question is how to return the nomenclature for the values on the form to my query?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You're not using "Lookup Fields" are you?

  3. #3
    Desstro's Avatar
    Desstro is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    185
    I am for the combo boxes but not for the option groups.

    I hope your not getting ready to tell me it's not possible.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Now that your ComboBoxes are defined on your form, remove the Lookup Fields in the table: http://www.btabdevelopment.com/ts/removelookups

  5. #5
    Desstro's Avatar
    Desstro is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    185
    All lookup fields are already set to text. Still returning the lookup auto number value though. in the lookup tables I have the autoID # set as PKeys....does this make a difference. I guess Ill try it w/o pkeys and see.

  6. #6
    Desstro's Avatar
    Desstro is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    185
    Just as I thought the Pkeys did not make a difference. Still need help please.

  7. #7
    Desstro's Avatar
    Desstro is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    185
    the data I enter on this form gets stored in a table called PkgsReceivedandScheduledStatus. The combo boxes on this form get their data from lookup tables called FacAreaLookup and ProgramLookup. All tables have the lookup set to textbox. is there something i need to do within the property sheet data tab on the form?

    See image.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Change the BoundColumn property to 2.

  9. #9
    Desstro's Avatar
    Desstro is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    185
    BOOM! Thanks again. You are the man! I can't believe I didn't think of that though.

    Now how can i get my option groups to do the same thing?

    I'll keep tinkering and let you know if I figure it out on my own.

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

Similar Threads

  1. Option Group - Borders are gone
    By cevatyildiz in forum Forms
    Replies: 0
    Last Post: 04-30-2010, 06:08 AM
  2. option group radio buttons
    By ManC in forum Forms
    Replies: 9
    Last Post: 03-08-2010, 03:46 AM
  3. Option Group
    By huskies in forum Forms
    Replies: 9
    Last Post: 12-02-2009, 12:06 PM
  4. option group in form
    By mawa4492 in forum Forms
    Replies: 1
    Last Post: 08-05-2009, 02:49 PM
  5. Option Group broken out
    By dcecil in forum Reports
    Replies: 3
    Last Post: 04-21-2009, 10:30 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