Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A question on 0
Message
De
30/05/2006 09:33:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/05/2006 05:26:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01125785
Message ID:
01125849
Vues:
17
>if i do something like
>
>create cursor qsomething(Nnos n(6))
>appe blank (5 times)
>list
>
>i cannot see the 0 in the field Nnos
>
>however if i browse and press on the delete key and then do a list i can see the 0
>
>my question is can i programatically find out if the 0 exists , meaning can i find out if the field has been physically visited.

Although isblank() can be used to check for blank values, and the blank command to make them blank, it is better to consider blank and zero as equals. If you need support for "does not have a value", in Visual FoxPro you can use null values.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform