What is the SQLEXEC() command returning? If it's -1, use the AERROR() function to find out what error was returned. That might help diagnose the problem.
>I am testing an ODBC connection thru Access and VFP5.0 and
>I wrote the following,,
>
>SQLSTRX='SELE * FROM MERCHANT'
>= SQLPREPARE(gnConnHandle, SQLSTRX)
>= SQLEXEC(gnConnHandle,SQLSTRX,'myodbc')
>
>But my 'myodbc' cursor isn't being created.
>What Am I doing wrong??
>
>Thanks to all you good people
>
>Mark Oliva