this
so that I could
display it easily on this page and to make sure that it is being
passed
from page to page
like the other variables.
2 -Yes, I tried naming it CurDate
3 - It is set to 'Date/Time' with a General Date format
What page are you setting the timestamp?
Have you tried assigning a different name?
What type of date/time field do you have set in the database?
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
One more problem,
I am trying to add a timestamp from my form into my dbase. The code
is
a
s
follows:
DIM Conn,strConn,SQLstmt,RS
set Conn = server.createobject("adodb.connection")
strConn = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("/_test/test.mdb")
Conn.open strConn
SQLstmt = "INSERT INTO Customer_Information (
CustomerLastName,CustomerFirstName,Timestamp)"
SQLstmt = SQLstmt & " VALUES ("
SQLstmt = SQLstmt & "'" & CustomerLastName & "',"
SQLstmt = SQLstmt & "'" & CustomerFirstName & "',"
SQLstmt = SQLstmt & "'" & Timestamp & "'"
SQLstmt = SQLstmt & ")"
Set RS = conn.execute(SQLstmt)
When I have the Timestamp in there it gives me an error that says:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT
INTO
statement.
/private/form_confirmation_new.asp, line 838
But when I remove the Timestamp information it works fine.
The Timestamp is defined as:
<%
Timestamp = Now()
%>
Thanks,
Mikeal
Thanks,
That should work. There would also actually be a time when someone
might
put
a double quote in a field they are filling out. Is there any why
around
this
possible problem? Right now if a single quote is used it errors
out
when
writing to the dbase. And would do the same if a double