Hi Fabio,
That is why many write wrapper functions, and use these functions instead wherever possible.
>>Why not just:
>>if not empty(alias())
>
>Yuri, i can skip ODBC dialog with
>
>SQLSETPROP(0,'DispLogin',DB_PROMPTNEVER)
>
>and i cannot skip VFP Open dialog ?
>
>I must put 1 test on my application before all my 100000 cursor commands ?
>
> IF EMPTY(alias())
> THROW "alias not found"
> ENDIF
> .... my command
>
>
>Thanks Yuri.
>
>Fabio