T
Test_1
Hello!
I have this query to be run from an .asp page (B.asp)
against an access database:
SELECT Orders.* FROM Orders
WHERE (Orders.Date between #::StartDate::# and
#::EndDate::#);
StartDate and EndDate are parameters captured as
character strings in Text Boxes on another .asp page, in
a form that posts to B.asp.
I receive this error:
[Microsoft][ODBC Microsoft Access Driver] Syntax error in
date in query expression '(Orders.Date between #1# and
#2#)'.
What's wrong in the syntax? is that the proper way to
typecast a character string as a Date?
Any help will be welcome. Thanks in advace!
I have this query to be run from an .asp page (B.asp)
against an access database:
SELECT Orders.* FROM Orders
WHERE (Orders.Date between #::StartDate::# and
#::EndDate::#);
StartDate and EndDate are parameters captured as
character strings in Text Boxes on another .asp page, in
a form that posts to B.asp.
I receive this error:
[Microsoft][ODBC Microsoft Access Driver] Syntax error in
date in query expression '(Orders.Date between #1# and
#2#)'.
What's wrong in the syntax? is that the proper way to
typecast a character string as a Date?
Any help will be welcome. Thanks in advace!