I have an SQL statement which is dynamically built on a form.
It can be truncated to read
[Colour] = 'Blue'
or it can be left as a complete statement - SELECT * from tblOrders WHERE [Colour] = 'Blue'
The statements work when I open a form.
Is there a simple way to open a report (or query) with these parameters?
I have been strugglling to uderstand Querydefs, and wondered if there is a simpler way.
Thanks
It can be truncated to read
[Colour] = 'Blue'
or it can be left as a complete statement - SELECT * from tblOrders WHERE [Colour] = 'Blue'
The statements work when I open a form.
Is there a simple way to open a report (or query) with these parameters?
I have been strugglling to uderstand Querydefs, and wondered if there is a simpler way.
Thanks