Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing alias?
Message
De
17/01/2005 23:38:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
17/01/2005 23:30:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00977939
Message ID:
00977947
Vues:
29
>If no record fulfils the condition, i.e. if no record is selected, the cursor is not created in the first place. Worse yet, you may have no-longer-valid data from a previous run of the loop.

Correction, I just tried it (VFP 6), and the cursor is indeed created. I confused this with SELECT ... INTO ARRAY, which brought me into trouble in the past (the array is not created; VFP doesn't support zero-sized arrays).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform