T
Tara
I have two combos on a frmEmployees. 1st combo is cboCity, 2nd is cboZip.
Both are based on the same table. I'm trying to get the second combo to be
limited based on what is chosen in the first combo, but it doesn't appear
that the After Update Event is firing at all. That or I'm missing something
obvious.
The 1st combo's RowSource is as follows:
SELECT DISTINCT [tblZip].[strCity] FROM tblZip ORDER BY [tblZip].[strCity];
The 2nd Combo's RowSource is:
SELECT [tblZip].[numZip], [tblZip].[strCity] FROM tblZip WHERE
((([tblZip].[strCity])=[forms]![frmEmployee]![City]));
In the After Update event of the 1st combo I have:
Me.cboZip.Requery
I've also tried using DoCmd.Requery "cboZip"
Interestingly, if I run the query behind cboZip independently of the After
Update Event, it works fine!
What am I missing here???
Thanks!
Both are based on the same table. I'm trying to get the second combo to be
limited based on what is chosen in the first combo, but it doesn't appear
that the After Update Event is firing at all. That or I'm missing something
obvious.
The 1st combo's RowSource is as follows:
SELECT DISTINCT [tblZip].[strCity] FROM tblZip ORDER BY [tblZip].[strCity];
The 2nd Combo's RowSource is:
SELECT [tblZip].[numZip], [tblZip].[strCity] FROM tblZip WHERE
((([tblZip].[strCity])=[forms]![frmEmployee]![City]));
In the After Update event of the 1st combo I have:
Me.cboZip.Requery
I've also tried using DoCmd.Requery "cboZip"
Interestingly, if I run the query behind cboZip independently of the After
Update Event, it works fine!
What am I missing here???
Thanks!