Results 1 to 2 of 2
  1. #1
    Clousejd is offline Novice
    Windows Vista Access 2007
    Join Date
    Nov 2010
    Posts
    1

    Filter Combo list by Option Group item selected.

    Using MS Access 2007 - I have a form to input records. I have an Option Group in a Frame and a Combo List where the row source comes from a table query (Select All).
    I want to filter the row source in the Combo List depending on what Option Item I select in the Option Group. How do I know what Option Item I have selected on the form before I have saved the record? If I have that value, I can modify the Select for the Combo List row source to select only those records that are of type 'OptionValue'.


    Thank you in advance...

  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,521
    You can use the method here that changes the row source of the combo:

    Baldy-Cascading Combos

    You test the value of the frame to get the selected value of the option group. Typically it's a number 1, 2, 3 etc, though you can set it to other things.
    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. Replies: 3
    Last Post: 10-07-2010, 09:36 AM
  2. Combo Box and Option Group Values
    By Desstro in forum Queries
    Replies: 8
    Last Post: 09-06-2010, 11:40 PM
  3. Option Group
    By huskies in forum Forms
    Replies: 9
    Last Post: 12-02-2009, 12:06 PM
  4. Selected Group only in Report
    By Robert M in forum Reports
    Replies: 0
    Last Post: 09-18-2009, 08:10 AM
  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