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:
00059138
Views:
37
>>>>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")


Great! I'm always looking for easier ways of doing things!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform