Hello all, using VFP 5.0, a syntax problem I came across.
Thank you & Happy Thanksgiving to the USA folks!
~PM
&& create a cursor directly from MS Access.
Procedure Ship_Via()
lcmdb="c:\C:\ASCENT\ODBCLINK\nonorm.mdb"
store SQLSTRINGCONNECT(;
'DBQ='+lcmdb+';'+;
'Driver={Microsoft Access Driver (nonorm.mdb)}');
TO gnConnHandle=sqlexec(gnConnHandle,"Instruct.Ship_Via ;","lstcsnum"
sqldisc(0)
Endproc
*********************************
Problem with this line:
TO gnConnHandle=sqlexec(gnConnHandle,"Instruct.Ship_Via ;","lstcsnum"
sqldisc(0)
*Compile Error "Command contains unrecognized phrase/keyword"*
Thank you & Happy Thanksgiving to the USA folks!
~PM
&& create a cursor directly from MS Access.
Procedure Ship_Via()
lcmdb="c:\C:\ASCENT\ODBCLINK\nonorm.mdb"
store SQLSTRINGCONNECT(;
'DBQ='+lcmdb+';'+;
'Driver={Microsoft Access Driver (nonorm.mdb)}');
TO gnConnHandle=sqlexec(gnConnHandle,"Instruct.Ship_Via ;","lstcsnum"
sqldisc(0)
Endproc
*********************************
Problem with this line:
TO gnConnHandle=sqlexec(gnConnHandle,"Instruct.Ship_Via ;","lstcsnum"
sqldisc(0)
*Compile Error "Command contains unrecognized phrase/keyword"*