Re: Sub menus



On Sat, 16 Jun 2007 10:31:01 -0700, Doug11046
<Doug11046@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I am trying to set up an Access database that will allow me to first look up
a catagory and from that category to next look up particluar items related to
that category.

The application involves 2000 or so items that that can be grouped into 20
or so categories. To try to pick 1 of 2000 items directly using combo boxes
is too time consuming and so the idea is that the user first picks a category
which then limits the combo box to only those items in that category.

Thanks for any help you can provide.

Use a Form with two combo boxes. The first combo box would list the categories
(let's call it cboCategory). The second combo would be based on a query of the
items table referencing cboCategory as a criterion:

=[Forms]![YourFormName]![cboCategory]

You'll need to Requery the item combo box in the AfterUpdate event of
cboCategory.

John W. Vinson [MVP]
.



Relevant Pages

  • Re: One ComboBox dependent on another
    ... will used to input data every quarter. ... boxes each with defined options, ... I would like the options in cboSubCategory to be based on the user's ... now, cboCategory is unbound, and cboSubCategory is bound; ...
    (microsoft.public.access.forms)
  • Re: One ComboBox dependent on another
    ... will used to input data every quarter. ... boxes each with defined options, ... I would like the options in cboSubCategory to be based on the user's input ... now, cboCategory is unbound, and cboSubCategory is bound; ...
    (microsoft.public.access.forms)
  • Cascading combo box data disappearing from form
    ... I have three combo boxes on a form. ... selecting values on one record, and moving to another one and selecting ... Combo 2 cboCategory Row Source ... concatenate at all on another record. ...
    (microsoft.public.access.forms)
  • Multiple combo boxes that filters records in a form
    ... create 2 combo boxes, each dispalying unique values from a field of table/query containng multiple occurences of each values? ... then sychronize these 2 combo boxes and filter records in a form based on my selection in the combo boxes? ... cboType (depend on the selection of cboCategory) ... After selecting Fruit in cboCategory, then Apple in cboType, records under Apple are filtered in a form. ...
    (microsoft.public.access.forms)
  • Re: Multiple combo boxes that filters records in a form
    ... Limit content of combo/list boxes ... > cboType (depend on the selection of cboCategory) ... Apple are filtered in a form. ...
    (microsoft.public.access.forms)