Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forms -- how to get subcategory list to update when category is change 1

Status
Not open for further replies.

ronrsr

Technical User
Jan 14, 2001
13
US
I am working on a form that has a combo box for category, then another one for subcategory -- it works fine, except that when I change categories, I'd like to have the subcategory list updated -- now, i only get the original subcategory list displayed.

Does anyone know how to update this whenever categories change by going to a new record?

Thanks,

-rsr-
 
You could try using the onChange event of combo1 and inserting:
combo2.requery
 
Hey, that worked great -- only one small problem left --

When I change the category, the choices in the pull-down part of the combo box change -- but the current value of the combo box doesn't. for instance:


Category Subcategory Drop Down


Milk Beverage Beverage, Yogurt, Cheese, Milk Alternatives


change to:


Grains Beverage Breads, Muffins, Rice, etc.


I'd like the new subcategory to be Breads, if possible.

bests,

-rsr-



change to:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top