SQL statements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a DHTML page to access an Access database. I am using an
SQL statement int the DataEnvironment that requires 2 parameters. TextField1
is the input for StartDate parameter, and TextField2 is the input for EndDate
parameter. The code I use before calling the SQL statement is "startDAte =
CDATE(TextField1)" and "endDate = CDate(TextField2)". I keep getting the
error:"Invaldi datetime format (null)". I'm not sure if I've written the sQL
statement properly. I did it through the SQL Builder.
 
The datetime delimiter for Access is @, not ' as in SQL Server.

--Mary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top