Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INSERT DateTime
Message
 
 
To
30/04/2004 16:14:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00899909
Message ID:
00899926
Views:
17
>Thanks Sergey, I've tried those methods. The problem I'm having is that I need to put the date value in a SQL insert string with other values that are actual strings. Below is an example:
>
>FOXSQLINSERT = "INSERT INTO setup (Job_num,Entry_Date, Track)VALUES" _
>+ "('" + Session("JobNum") + "','" + + {^2004/01/12 12:45:00} + "','" + txtTrack.Text.Trim + "','" + "" + " ')"
>
>I am doing this from ADO.NET. Ideas? Thank you
>
Tim,

Try
FOXSQLINSERT = "INSERT INTO setup (Job_num,Entry_Date, Track)VALUES" + _
+ "('" + Session("JobNum") + "', {^2004/01/12 12:45:00},'" + _
txtTrack.Text.Trim + "','" + "" + " ')"
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform