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()
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only