Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to delete my active cursor?
Message
 
 
À
10/10/2000 11:07:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427287
Message ID:
00427307
Vues:
12
>>>In vfp60, I have the following code:
>>>select * from mytable into cursor mycursor...
>>>I use this line of code more than once in my program...
>>>When I try to use this line a code for the second time, I get an error message saying...Alias name afready in use...I need to delete mycursor before I run the select statement...how do I delete my cursor?
>>

>>USE IN mycursor
>Hi Sergey,
>Are you saying to use this code...
>USE IN mycursor
>SELECT * FROM mytable INTO mycursor


The code below will close your cursor only if it is open
IF USED("mycursor")
   USE IN mycursor
ENDIF
SELECT * FROM mytable INTO mycursor
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform