friedboudinball
Registered User.
- Local time
- Today, 00:30
- Joined
- Sep 27, 2011
- Messages
- 39
I have a form with 3 combo boxes (Country, State, City). i want the user to pick the country, then that limits the values in the State box, which then limits the values in the city box. I have set each combo box to reference (via SQL) the other entry. So i simply need it to refresh or requery each time something changes.
This code works well to requery the data:
Change()
Me.Box1.Requery
Me.Box2.Requery
Me.Box3.Requery
However, it does not always "requery" when i change the Box1. For example, if I select a country (e.g. Poland) then decide I want it to be England, the query does not rerun to select englands cities instead of Polands, even with the requiery built in. i have tried this with AfterUpdate, ON Dirty, etc..
any ideas?
This code works well to requery the data:
Change()
Me.Box1.Requery
Me.Box2.Requery
Me.Box3.Requery
However, it does not always "requery" when i change the Box1. For example, if I select a country (e.g. Poland) then decide I want it to be England, the query does not rerun to select englands cities instead of Polands, even with the requiery built in. i have tried this with AfterUpdate, ON Dirty, etc..
any ideas?
Last edited: