Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I delete field from a cursor?
Message
De
01/02/2008 09:30:16
 
 
À
01/02/2008 06:58:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01287714
Message ID:
01287975
Vues:
7
>Denis,
>
>If you need to save the new cursor with long fields as original you could also
>
>create cursor curLongfield(fieldnumberone c(10), fieldnumbertwo c(10))
>select curLongfield
>select fieldnumbertwo from curLongfield into cursor curLongfield
>
Smart. It is indeed possible to select stuff FROM a certain cursor INTO a new cursor with the SAME NAME that'll overwrite the original one. I have done that occasionally, but always document the reason, because it may surprise others.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform