>>>>How can i know if a cursor exist
>>>
>>>? USED('mycursor')
>>>
>>>where mycursor is the file name
>>
>>Let's be clear here. It's not the file name, it's the
alias name.
>
>Clear?... the way
S VFP uses the word "cursor", I'm afraid there's no hope for clear.
In a lot of ways, you're right. But let's not get into all the places that file name is "mis-used". It's a lot more than just the above example.