Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I test the existence of cursor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00058561
Message ID:
00059138
Vues:
42
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform