Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I test the existence of cursor
Message
From
06/11/1997 15:30:10
 
 
To
06/11/1997 06:37:54
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058561
Message ID:
00058710
Views:
31
>>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
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