>Cetin,
>
>I tried this and the error doesn't appear. However, no cursor is generated either.
>
>My Code Now:
>lcConnection = 'DRIVER=Client Access ODBC Driver (32-bit);SYSTEM=GVAS400;DefaultLibraries=webprddtx;'+;
> 'TRANSLATE=1;UID=SDE;PWD=BEREAN5;SIGNON=2;SSL=3'
>
>gnHandle1 = SQLSTRINGCONNECT(lcConnection)
>
>gnHandleb = "Select dm_drawing_number From drawmstrp InTo Cursor mySeeThisfit"
>
>If gnHandle1 <= 0 Then
> Wait Window "Connection not Made"
> Cancel
>Else
> *Wait Window "Connection Made"
> = SQLSETPROP(gnHandle1, 'asynchronous', .F.)
> = SQLEXEC(gnHandle1,"'"+gnHandleb+"'")
>EndIf
>= SQLDISCONNECT(gnHandle1)
Are you sure Steve ? When 3rd parameter is not specified VFP creates it with a default name of 'SQLRESULT' (SQLRESULT1,SQLRESULT2.. in case of multiple sets).
Cetin