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:
00058841
Vues:
35
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform