Hello,
Could anyone please help with a query I have that doesn't work!
Basically I have a form and want the query based on the input of two combo boxes
In the 'field' area I have put:
Expr1: [Forms]![my combo box form name]![product category combo box]
and in the criteria section I have put:
[Forms]![my combo box form name]![product type combo box]
So if for example I put 'apples' intp the product combo box and 'green' into the type combo box on my form, I wish the query to filter out first all records with the field 'apples' and then those apples that also have the type field as 'green'. I can get the query to work with the expression in either the field or criteria section but not both???
If anyone could help i'd really appreciate it, I'm a learning newbie so please go easy!
Thanks for reading.
Could anyone please help with a query I have that doesn't work!
Basically I have a form and want the query based on the input of two combo boxes
In the 'field' area I have put:
Expr1: [Forms]![my combo box form name]![product category combo box]
and in the criteria section I have put:
[Forms]![my combo box form name]![product type combo box]
So if for example I put 'apples' intp the product combo box and 'green' into the type combo box on my form, I wish the query to filter out first all records with the field 'apples' and then those apples that also have the type field as 'green'. I can get the query to work with the expression in either the field or criteria section but not both???
If anyone could help i'd really appreciate it, I'm a learning newbie so please go easy!
Thanks for reading.