Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to delete my active cursor?
Message
 
 
À
10/10/2000 12:01:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427287
Message ID:
00427358
Vues:
13
>>>Robert,
>>>
>>>I'm really curious here because I can issue the statement twice:
>>>
SELECT * FROM MyTable INTO CURSOR MyCursor
>>>SELECT * FROM MyTable INTO CURSOR MyCursor
without any errors.
>>>
>>>Did you perhaps do a USE AGAIN ... ALIAS MyCursor? That would give an error.
>>>
>>>
>>>
>>>>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?
>>Cindy,
>>
>>What ?set('safety') return? :)
>Hi Nadya, returns... ON

Yep, that's why you're getting this error and Cindy is not. Anyway, in your case you better not set it off :)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform