I have a date field in my csv file in this format : 2:00:00 AM, 10/7/2009.
When I query the file and sort by this field asc, query did not recognize this as a data field such that 2:00:00 AM, 10/7/2009 comes before 9:00:00 PM, 10/06/2009.
I tried: order by cdate(replace([date field],',',' ')), to remove the comma and convert it to date format (which works in vbs), but replace function did not work on the query
Any help will be greatly appreciated.
When I query the file and sort by this field asc, query did not recognize this as a data field such that 2:00:00 AM, 10/7/2009 comes before 9:00:00 PM, 10/06/2009.
I tried: order by cdate(replace([date field],',',' ')), to remove the comma and convert it to date format (which works in vbs), but replace function did not work on the query
Any help will be greatly appreciated.