Results 1 to 2 of 2
  1. #1
    brncfan7 is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    1

    Adding 'Select All' Option to Combo Box within form

    I've been searching the internet and many other forums trying to figure this out but haven't gotten anywhere. The goal of my form is to have the user select options from a list box, then have the results displayed in a subform table. My form is set up like so:



    1. Table with all data is called FY11 Budget Table, having many columns including Functional Category and Facility.
    2. The first dropdown list for Functional Category is called Functional_Category_Pulldown
    3. There is a second dropdown list for Facility which allows the user to select only facilities related to the selection from the functional category. 4. Once the selection in the facility box is made, the pertinent data is displayed in a subform.

    The query for the Functional Category selection is (the <> is to exclude one value in the column):

    SELECT [FY11 Budget Table].[Functional Category]
    FROM [FY11 Budget Table]
    WHERE ((([FY11 Budget Table]![Functional Category])<>"GSD FTE"))
    GROUP BY [FY11 Budget Table].[Functional Category];

    The query for the Facility selection, which is based off of the above choice, is:

    SELECT [FY11 Budget Table].Facility
    FROM [FY11 Budget Table]
    WHERE ((([FY11 Budget Table].[Functional Category])=[Forms]![FY11 Budget Form]![Functional_Category_Pulldown]))
    GROUP BY [FY11 Budget Table].Facility;

    I really want the ability to select an 'All' option in both combo boxes so that the user has that capability.

    Thank you for your time. As I am new to this forum, if you believe this posting is better served in a different area please let me know.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    maybe your searches did not use the right words: http://www.google.com/#hl=en&sugexp=...664e7e8c090ddc

    this question is asked all the time.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-05-2011, 09:33 AM
  2. Option Groups and Adding Data to Tables
    By ipitydafool in forum Forms
    Replies: 5
    Last Post: 05-02-2011, 01:59 PM
  3. Replies: 3
    Last Post: 11-02-2010, 10:15 AM
  4. Replies: 47
    Last Post: 06-17-2010, 03:04 PM
  5. Combo-box to select item to edit in Form
    By DHavokD in forum Forms
    Replies: 7
    Last Post: 06-05-2009, 01:39 PM

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