Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I test the existence of cursor
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058561
Message ID:
00058841
Views:
30
>>>Is it true that when I use private datasession and during this session I create one cursor (for example SELECT ... INTO CURSOR c1) this cursor is not destroyed at the end of the form?
>>>
>>>Have I to destroy it explicit in the destroy method of the form?
>>>
>>>How can I test the existence of the cursor? FILE('c1') does not work.
>>>I have one case that I can't use _tally
>>
>>
>>IF USED('c1')
>> SELE c1
>> USE
>>ENDIF
>>
>>
>>hth,
>>
>>Razvan
>
>
>Even better is:
>
>IF USED("c1")
> USE IN c1
>ENDIF

Hi guys,
Easier :
USE IN SELECT("C1")
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform