Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax error.
Message
From
04/02/2002 05:50:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Syntax error.
Miscellaneous
Thread ID:
00614678
Message ID:
00614678
Views:
61
Hi guys!

Im trying to use a SQLPassthrough command on updating a table. The problem is very unusuall. I hope you can help me with this one. The code is provided below. Please check if I had omitted something.


Thanks in advance...

lparameters cDesc, cItemid, cPrice

nHandle = sqlconnect("DSN Name")
cSQL = [Update Accounting!items Set Desc = ] + ["] + alltrim(cDesc) + [",] +;
[Price = ] + alltrim(str(cPrice)) +;
[ Where itemid = ] + ["] + alltrim(cItemid)+ ["]
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Next
Reply
Map
View

Click here to load this message in the networking platform