J
JethroUK
How do i pass a global variable (as criteria) to a Query design/SQL?
The variable f$ will contain an sql where statement e.g. "[Enquired] Is Not
Null AND [Letter Sent] Is Null"
Works fine if i just copy/paste into the SQL statement, or criteria line in
design
But I have to pass it as a variable (it will change according to a form
filter)
It has to be part of a query design because this in turn is used by a
mail-merged letter
The variable f$ will contain an sql where statement e.g. "[Enquired] Is Not
Null AND [Letter Sent] Is Null"
Works fine if i just copy/paste into the SQL statement, or criteria line in
design
But I have to pass it as a variable (it will change according to a form
filter)
It has to be part of a query design because this in turn is used by a
mail-merged letter