I'm creating a Crystal Report (v9) against an informix db using a command object (query) with two date parameters. I'm having trpuble with the WHERE clause in my query:
"WHERE DATE(tbl.datetimefield) >= {?Begin Date}
AND DATE(tbl.datetimefield) <= {?End Date}"
tbl.datetimefield is stored as "yyyy-mm-dd hh:mm:ss"
I keep getting a "string to date conversion error" message when attempting to validate the query.
Occasionally I'll get "non-numeric characters in date time string"
Any help?
"WHERE DATE(tbl.datetimefield) >= {?Begin Date}
AND DATE(tbl.datetimefield) <= {?End Date}"
tbl.datetimefield is stored as "yyyy-mm-dd hh:mm:ss"
I keep getting a "string to date conversion error" message when attempting to validate the query.
Occasionally I'll get "non-numeric characters in date time string"
Any help?