CuriousGeorge
Registered User.
- Local time
- Tomorrow, 00:38
- Joined
- Feb 18, 2011
- Messages
- 131
Hello,
My query doesnt quite work as i want to;
on my form i have three combo boxes and i want my query to select the values and ranges that are selected from these three boxes.
In the ComboParameter box i have all the field names listed which are in my table 'TableData'.
My problem is;
if one field name is selected i want all the values within that field to be selected and filtered according to the WHERE clause. As it is now the field name is listed x times instead of the values within that field.
Any ideas? (i added .value to the expression but didnt work).
Thanks very much
My query doesnt quite work as i want to;
on my form i have three combo boxes and i want my query to select the values and ranges that are selected from these three boxes.
Code:
SELECT [Forms]![frm]![ComboParameter].value AS Expr1
FROM TableData
WHERE (((ReturnDate([AbsTime]))=[Forms]![frm]![ComboDate]) AND ((TableData.BananaField)=[Forms]![frm]![ComboType]));
In the ComboParameter box i have all the field names listed which are in my table 'TableData'.
My problem is;
if one field name is selected i want all the values within that field to be selected and filtered according to the WHERE clause. As it is now the field name is listed x times instead of the values within that field.
Any ideas? (i added .value to the expression but didnt work).
Thanks very much