Hi Christian ----
IF USED("alias") .... etc etc
That will work.
>I am using VFP 6.0, and I need to know for a certain Method, whether a Cursor exists already or not. I have to point to a field of this Cursor, and if this method runs without the existing cursor, I get an error message [Variable not found].
>IF EXIST(mycursor) does not work.
>
>Thank you for your time.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05