Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax error.
Message
De
04/02/2002 05:50:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Syntax error.
Divers
Thread ID:
00614678
Message ID:
00614678
Vues:
62
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform