C
Carpie
I have a form (search.asp) that passes a date to a date query in results.asp. Below is my SQL statement:
SELECT * FROM Savings WHERE [Sdate] >= #::idate::#
Note that everything works fine if I substitute a date (1/1/04) into the SQL statement in place of ::idate::. With ::idate:: in the SQL statement, I can't leave the Custom Query window as it considers it an error. The details are (notice it references #1#?):
Server error: Unable to retrieve schema information from the query:
SELECT * FROM Savings WHERE [Sdate] >= #1#
against a database using the connection string
DRIVER={Microsoft Access Driver (*.mdb)};DBQ=URL=fpdb/BSCPfp.mdb.
The following error message comes from the database driver software; it may appear in a different language depending on how the driver is configured.
SELECT * FROM Savings WHERE [Sdate] >= #::idate::#
Note that everything works fine if I substitute a date (1/1/04) into the SQL statement in place of ::idate::. With ::idate:: in the SQL statement, I can't leave the Custom Query window as it considers it an error. The details are (notice it references #1#?):
Server error: Unable to retrieve schema information from the query:
SELECT * FROM Savings WHERE [Sdate] >= #1#
against a database using the connection string
DRIVER={Microsoft Access Driver (*.mdb)};DBQ=URL=fpdb/BSCPfp.mdb.
The following error message comes from the database driver software; it may appear in a different language depending on how the driver is configured.