Hi,
Got a question for everyone. I have a datawindow select statement with a union that is working ok. But, for whatever reason when the code below was run in the application the data retrieved was not displaying in the datawindow.
convert(char(8),db
FFENDER_WORK_SCHEDULE.scheduled_date,112) > =
convert(char(8),:start_date,112)) and
convert(char(8),db
FFENDER_WORK_SCHEDULE.scheduled_date, 112) <=
convert(char(8),:end_date,112))
We changed the retrieval arguments for the start and end date to strings instead of datetimes and wrote the above lines of code as followed.
convert(char(8), db
FFENDER_WORK_SCHEDULE.scheduled_date >= :start_date
convert(char(8), db
FFENDER_WORK_SCHEDULE.scheduled_date <= :end_date.
When we did this, the data displayed in the datawindow when the application was run.
Does anyone have any idea as to why the data would not display when we were using datetime for the retrieval arguments instead of string.
TIA,
Dan Sellers
Got a question for everyone. I have a datawindow select statement with a union that is working ok. But, for whatever reason when the code below was run in the application the data retrieved was not displaying in the datawindow.
convert(char(8),db
convert(char(8),:start_date,112)) and
convert(char(8),db
convert(char(8),:end_date,112))
We changed the retrieval arguments for the start and end date to strings instead of datetimes and wrote the above lines of code as followed.
convert(char(8), db
convert(char(8), db
When we did this, the data displayed in the datawindow when the application was run.
Does anyone have any idea as to why the data would not display when we were using datetime for the retrieval arguments instead of string.
TIA,
Dan Sellers