Hello everyone,
I'm having trouble retrieving and sorting by the date column in a query that I've designed to convert julian dates. My query is as follows:
While the query runs, it doesnt produce the desired results, in that I receive all of the dates regardless of what is entered in the parameter prompt; i.e., if I enter '10/01/11', I will get the full date range.
Any help is appreciated.
I'm having trouble retrieving and sorting by the date column in a query that I've designed to convert julian dates. My query is as follows:
Code:
SELECT USER, EVENTDESCR, (DateSerial(1900+(SHUPMJ\1000),1,SHUPMJ Mod 1000)) AS ConvertedDate
FROM HISTORY
WHERE (DateSerial(1900+(SHUPMJ\1000),1,SHUPMJ Mod 1000))>=[Enter the beginning period date - mm/dd/yy]
ORDER BY 3, 1;
While the query runs, it doesnt produce the desired results, in that I receive all of the dates regardless of what is entered in the parameter prompt; i.e., if I enter '10/01/11', I will get the full date range.
Any help is appreciated.