H
Hal
How can I put the following criteria in the WhereCondition in .OpenReport?
WHERE (((Format$([Date],"\Qq
yyyy",0,0))=[Forms]![frmPrintSelectQtr]![txtCriteria]))
(The report is based on a saved query)
txtCriteria would contain one OR more "formatted" quarters like this: Q2
2003
If there is more than one quarter (criteria) how should the txtCriteria
look?
- "Q2 2003" OR "Q4 2003"
- "Q2 2003", "Q4 2003"
i.e what should the separator be?
Any help much appreciated...
TIA Hal
WHERE (((Format$([Date],"\Qq
yyyy",0,0))=[Forms]![frmPrintSelectQtr]![txtCriteria]))
(The report is based on a saved query)
txtCriteria would contain one OR more "formatted" quarters like this: Q2
2003
If there is more than one quarter (criteria) how should the txtCriteria
look?
- "Q2 2003" OR "Q4 2003"
- "Q2 2003", "Q4 2003"
i.e what should the separator be?
Any help much appreciated...
TIA Hal