I have other scripts where I am using a calendar date box to get a date range to select rows from a table where >= the date range and it works. I have one script where it will not work.
I am storing the date in a varaible startDT2. The format matches what is in the table after I split the table. Below is the code.
TempstartDT = start << get; // This gets the date from the Calendar/Date Box.
CharDate3= Uppercase(Format(TempstartDT, "mm/dd/yyyy"));
startDT2 = CharDate3;
dt5 << Select where (:LOGIN_DATE >= informat(startDT2,"mm/dd/yyyy"));
When I run the code in debugger I can see that startDT2 is 01/29/2019 when I select that date. The data has rows where the LOGIN_DATe colulumn has 01/29/2019. It ends up ignoring the select where and bringing in all of the data.
Does anyone know why the Select Where is not working?