W
Walter
I have 3 unbound combos on a form. Combo2's rowsource uses combo1's value as
criteria. Combo1's AfterUpdate Event requeries combo2. Upon making a
selection in combo1, there are no choices in combo2. Also after update of
combo1, if Combo1 = "this value" then do this. In testing with a code break
there, combo1 is null even though "this value" is selected.
Combo1 Rowsource:
SELECT DISTINCT MyTable.Field1
FROM MyTable
WHERE (((MyTable.Field3)=False));
Combo2 Rowsource:
SELECT DISTINCT MyTable.Field2 FROM MyTable WHERE
(((MyTable.Field1)=[me].[MyCombo1]) AND ((MyTable.Field3)=False));
Column count:1
Bound Column:1
RowSource Type:table/query
LimitToList:Yes
ColumnWidth:1"
criteria. Combo1's AfterUpdate Event requeries combo2. Upon making a
selection in combo1, there are no choices in combo2. Also after update of
combo1, if Combo1 = "this value" then do this. In testing with a code break
there, combo1 is null even though "this value" is selected.
Combo1 Rowsource:
SELECT DISTINCT MyTable.Field1
FROM MyTable
WHERE (((MyTable.Field3)=False));
Combo2 Rowsource:
SELECT DISTINCT MyTable.Field2 FROM MyTable WHERE
(((MyTable.Field1)=[me].[MyCombo1]) AND ((MyTable.Field3)=False));
Column count:1
Bound Column:1
RowSource Type:table/query
LimitToList:Yes
ColumnWidth:1"