G
G deady via AccessMonster.com
I have 2 cascading combo boxes . The first lists the 50 states. The second
lists the cities and zipcodes for whichever city is chosen.
The query for my first combobox(cities) has 2 fields: stateid. state
The query for my second combobox(cities) has 5 fields: CityID,city, zip,
stateid.
I have the following criteria in my cities query in the stateid field:
[Forms]![frm_clientinformation]![cboRegions]
This works great in the clientinformation form. My problem is I have other
forms I want to use these cascading comboboxes in. Is there a way to write a
generic or universal criteria, perhaps with a me statement? I'm using copy
and paste so the combobox names are the same in every form. The problem is
the form name in the criteria. Or can the criteria be moved to a property
setting on each form?
lists the cities and zipcodes for whichever city is chosen.
The query for my first combobox(cities) has 2 fields: stateid. state
The query for my second combobox(cities) has 5 fields: CityID,city, zip,
stateid.
I have the following criteria in my cities query in the stateid field:
[Forms]![frm_clientinformation]![cboRegions]
This works great in the clientinformation form. My problem is I have other
forms I want to use these cascading comboboxes in. Is there a way to write a
generic or universal criteria, perhaps with a me statement? I'm using copy
and paste so the combobox names are the same in every form. The problem is
the form name in the criteria. Or can the criteria be moved to a property
setting on each form?