Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Statement within 2 Dates
Message
 
To
06/09/2000 08:03:50
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00412842
Message ID:
00412886
Views:
27
>I want the date field in the Access 2000 Table to fall between
>the 2 dates, as selected by the user. But I hit error in the SQL
>Statement.
>
>... FDate >= '15/Aug/2000' AND FDate =< '18/Aug/2000'
>
>It prompts me that the "<" syntax error. Anything wrong? Thanks.

Try this:
FDate Between #2000/08/15# AND #2000/08/18#
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform