Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC error
Message
De
29/01/2003 10:37:39
Diptesh Patel
Unitelsoftware Ltd.
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
SQLEXEC error
Divers
Thread ID:
00746694
Message ID:
00746694
Vues:
58
I am using SQLexec() with SQLprepare() function it gives me following error.

SQL statemnt parameter is required for non-prepared SQLEXEC() calls.

sample code is as follows
cInsStr = "Insert into APPL values("+allt(str(m.MAppKey))+","+ ; thisform.cmbBranch.value+","+;
allt(ThisForm.Text1.value)+","+;
"'',"+;
"0,"+;
"0,"+;
"0,"+;
"0,"+;
"'1',"+;
"'N',"+;
m.DtStamp+")"
=sqlprepare(nHandle,cInsStr)
=sqlexec(nHandle)

&& where APPL is remote table name
&& mappkey is numeric
&& cmbBranch is 3 digit code
&& dtstamp is 01/29/2003 in character format.

&& handle is frmm sqlconnect()
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform