Date Range Comparisons in MSDE failing
From: Jim Evans (jim.evans_at_ge.com)
Date: 09/29/04
- Next message: Adam Machanic: "Re: Date Range Comparisons in MSDE failing"
- Previous message: Adam Machanic: "Re: Usage of temporary table"
- Next in thread: Adam Machanic: "Re: Date Range Comparisons in MSDE failing"
- Reply: Adam Machanic: "Re: Date Range Comparisons in MSDE failing"
- Reply: Tibor Karaszi: "Re: Date Range Comparisons in MSDE failing"
- Reply: John Cappelletti: "RE: Date Range Comparisons in MSDE failing"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 06:19:59 -0700
I have an SQL statement that I am programmatically
populating, depending on user input. The string is...
SELECT * FROM Tickets WHERE (TicketDateStarted > #" &
Date1 & "#) AND (TicketDateStarted < #" & Date2 & "#)
ORDER BY TicketDateResolved
I have checked all of my fields and they are all getting
data in the Date1 and Date2 variables correctly. When I
execute the app (Which worked for MSACCESS -AS IS- ), I
get "Incorrect syntax near '#'." from the reader.
This is a major part of my app and the main thing holding
me back from deployment. Any ideas anyone??
- Next message: Adam Machanic: "Re: Date Range Comparisons in MSDE failing"
- Previous message: Adam Machanic: "Re: Usage of temporary table"
- Next in thread: Adam Machanic: "Re: Date Range Comparisons in MSDE failing"
- Reply: Adam Machanic: "Re: Date Range Comparisons in MSDE failing"
- Reply: Tibor Karaszi: "Re: Date Range Comparisons in MSDE failing"
- Reply: John Cappelletti: "RE: Date Range Comparisons in MSDE failing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|