Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL INSERT
Message
 
 
To
30/03/2000 12:29:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00352788
Message ID:
00353070
Views:
14
Edgar,

You never said if this is to a SQL backend or VFP. Different backends have different quotes requirements especially with date constants. You don't have to allt() the dtoc() and you do need a + before that last string constant.

>yea I thought of doing that now
>l_cSQL = l_cSQL + ",'" + ALLT(DTOC(DATETIME()))"'"
>
>l_cSQL is part of the clause. Now I wonder if I have the quotes right as it is
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform