What's the message and error number reported by AERROR()? Maybe it can give you a better clue.
IF SQLExec(...) > 0
....
ELSE
IF AERROR(laError) > 0
....
ENDIF
ENDIF
HTH
>Hello
>Trying to make a Visual FoxPro app (that works OK with SQL server and oracle) work with MySql, I cannot send two sql commands in a single sqlexec() call, and cannot use SQLprepare().
>Is this the "normal" behavior of Mysql, or am I missing something?
>I am using the ODBC driver provided with MySql.