T
Tara
I'm struggling with a cascading combo issue and I'm hoping someone can help.
I have a form with 2 combos, one called cboCity the other called cboZip.
cboCity gets it's data from a table called tblZip. The Row Source for cboZip
is qryZip. In the After Update event of this combo, I have the following
code:
me.cboZip.Requery
The requery works, but the zip doesn't automatically show in cboZip. In
other words, the field appears blank. If I hit the dropdown, it shows the
correct zip. I want the zip to automatically show up, rather than the user
having to hit the dropdown and physically choose the zip. Obviously this
can't always happen, since some cities have multiple zip codes, but when
there is only one option, I'd like it to appear.
Thanks in advance!
I have a form with 2 combos, one called cboCity the other called cboZip.
cboCity gets it's data from a table called tblZip. The Row Source for cboZip
is qryZip. In the After Update event of this combo, I have the following
code:
me.cboZip.Requery
The requery works, but the zip doesn't automatically show in cboZip. In
other words, the field appears blank. If I hit the dropdown, it shows the
correct zip. I want the zip to automatically show up, rather than the user
having to hit the dropdown and physically choose the zip. Obviously this
can't always happen, since some cities have multiple zip codes, but when
there is only one option, I'd like it to appear.
Thanks in advance!