Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange SPT behavior
Message
From
08/02/2000 15:49:03
 
 
To
08/02/2000 13:15:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00328907
Message ID:
00329138
Views:
19
John,

Is this a retype or cut/paste. The INSERT is not formed correctly.
>nGoodInsert=SQLEXEC(nCH3,"INSERT INTO action clientid,program_id,actnsk) VALUES
>(&cClientid,'&cProgram_ID','&cActnSK'")
Should be
>nGoodInsert=SQLEXEC(nCH3,"INSERT INTO (action clientid,program_id,actnsk) VALUES
>(&cClientid,'&cProgram_ID','&cActnSK')")
And you might try using parameters instead of the macro expansion:
>nGoodInsert=SQLEXEC(nCH3, "INSERT INTO (action clientid,program_id,actnsk) VALUES (?cClientid, ?cProgram_ID, ?cActnSK)")
-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform