sub5
Programmer
- Oct 12, 2005
- 104
Hi all,
I have tried the following syntax in a query to filter it based on a column of a combo box, but it doesn't like it, the query won't open.
This works when placed in the criteria row of the query:
forms!frm1!control1
This doesn't:
forms!frm1!control1.column(1)
Is my syntax off, or is it not possible?
ps I am pretty sure I can't refer to a variable either, right? (I have been building SQL instead)
I have tried the following syntax in a query to filter it based on a column of a combo box, but it doesn't like it, the query won't open.
This works when placed in the criteria row of the query:
forms!frm1!control1
This doesn't:
forms!frm1!control1.column(1)
Is my syntax off, or is it not possible?
ps I am pretty sure I can't refer to a variable either, right? (I have been building SQL instead)