Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to delete my active cursor?
Message
De
10/10/2000 11:16:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427287
Message ID:
00427310
Vues:
11
>>>>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
>
GREAT... it works and thanks....:)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform