Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp dates and asp
Message
From
15/07/1999 10:23:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Vfp dates and asp
Miscellaneous
Thread ID:
00241750
Message ID:
00241750
Views:
50
I am trying to post a date from asp to a foxpro database. I keep getting an "Invalid Data Type" error. The field is formatted as a date field in foxpro. Can anyone help me to resolve this? Here is a sample of the asp code (very simplified):


today = now

Set Conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN=test"
SQL="INSERT INTO foxtable(date) Values (" &_
"'" & today + "')"

Set RS = Conn.Execute(SQL)
set rs=nothing
Next
Reply
Map
View

Click here to load this message in the networking platform