Hello there,
I have a report that takes in 2 date_time parameters.
I then convert them to a string, timestamp style.
The conversion formula (@start) is:
totext({?datetimestart},"yyyyMMddHHmmss"
i.e 22/01/2003, 08:00:00 --> 20030122080000
In the select expert, I choose
{MyDB.MyField} in {@start} to {@end}
When I check the SQL Query, there is no "WHERE" clause, causing it to select all records.
However, if I create two string parameters ?start and ?end and stick it into the select expert, it works nicely.
The database field is a String type of length 14.
I hope someone can give some ideas on what went wrong.
Thanks in advance.
I have a report that takes in 2 date_time parameters.
I then convert them to a string, timestamp style.
The conversion formula (@start) is:
totext({?datetimestart},"yyyyMMddHHmmss"
i.e 22/01/2003, 08:00:00 --> 20030122080000
In the select expert, I choose
{MyDB.MyField} in {@start} to {@end}
When I check the SQL Query, there is no "WHERE" clause, causing it to select all records.
However, if I create two string parameters ?start and ?end and stick it into the select expert, it works nicely.
The database field is a String type of length 14.
I hope someone can give some ideas on what went wrong.
Thanks in advance.