Problem Populating Combo?
A2k (9.0.4402) SR-1
I have a Criteria Form with two combo boxes
FieldCombo ValueCombo
———————- ——————
strBusinessCity Albany
Buffalo
Newark
Rochester
strBusinessState NJ
NY
The operator selects a table field name from the FieldCombo box.
I then want to populate the ValueCombo box with the distinct values of the field selected (FieldCombo) as illustrated with the examples above.
Having a problem building the Row Source in the Query Grid for ValueCombo
This is what I have, the following does not return any rows:
SELECT DISTINCT [Forms]![frmCriteriaContractor]![FieldCombo] AS Expr1 FROM qrytblContractor;
The following works. I