G
Guest
Hi,
I use a combo box in a form with look-up from a table for selecting data.
Easy enough.
But, I want to only see a selection of the data in the table, depending on a
value in another field in the form.
I the combo box table I have ID, data1, and data.
data1 is the one that shall be equal to the other field.
1, 1, text1
2, 1, text2
3, 2, texta
4, 2, textb
5, 2, textc
etc.
I have tried using the standard query that comes with the combo box, and
then adding a WHERE statement testing against the data fiel in the form, but
it does not work.
Any suggestions anyone?
I use a combo box in a form with look-up from a table for selecting data.
Easy enough.
But, I want to only see a selection of the data in the table, depending on a
value in another field in the form.
I the combo box table I have ID, data1, and data.
data1 is the one that shall be equal to the other field.
1, 1, text1
2, 1, text2
3, 2, texta
4, 2, textb
5, 2, textc
etc.
I have tried using the standard query that comes with the combo box, and
then adding a WHERE statement testing against the data fiel in the form, but
it does not work.
Any suggestions anyone?