Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question on 0
Message
From
30/05/2006 09:33:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
30/05/2006 05:26:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01125785
Message ID:
01125849
Views:
19
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform