Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound Textbox and GETFLDSTATE()
Message
 
 
À
19/07/2009 06:59:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01413058
Message ID:
01413257
Vues:
49
>>Hi Fabio,
>>
>>>
>>>* textbox.ProgrammaticChange
>>>
>>>IF m.this.Value == EVAL(m.this.ControlSource)
>>>    NODEF
>>>ENDIF
>>>
>>
>>If the control source can hold NULL values, you also need to check for all three combinations of NULL. Otherwise you would never detect a change when any of the values is NULL.
>
>Hi Christof,
>
>of course!
>
>On the forum I prefer show the evidence,
>the exact solution is not usefull for a developer.
>
>By the way,
>it is a annoyance that in VFP , MS SQL and others,
>there is not a comparison including the null value.
>Every solution require a double evaluation.

In our case I don't think we can have NULL in this field, but thanks a lot for mentioning this.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform