Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function empty() and null value
Message
 
 
À
27/06/2011 12:37:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01516146
Message ID:
01516297
Vues:
55
It is possible. But explaining to a customer the purpose or why he/she sees .NULL. on the form may not be easy either.

>Wouldn't there be a risk of hard-to-diagnose problems if you do that? You could BROWSE or display the data and it'll look blank, but in the code it'll NULL values will still return .F. for EMPTY().
>
>>I have had the same experience in VFP (not using NULL). This is why I love the command:
>>
>>SET NULLDISPLAY TO ""
>>
>>
>>>So far I have worked with the Visual FoxPro Database. I rarely insert NULLs intentionally, they usually appear from the result of an outer join.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform