Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Silly Question on Edit Box display of .null. (not in gri
Message
De
09/02/2007 11:31:02
 
 
À
09/02/2007 11:27:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01194095
Message ID:
01194109
Vues:
19
it is Editbox.NullDisplay property.

>Hi Ed,
>
>I was trying to avoid changing the value at all - I only want to change the way it is displayed if it is null. However, that DOES work and I can use if I check before saving with something like:
>
>
>	IF ISNULL(this.pxorigvalue) .and. EMPTY(this.value)	&& display change only - still null
>		RETURN
>	ENDIF
>
>
>However, ideally, I'd just like to change the way NULL is displayed and I thought there was a simple way to do that using the control's properties but I just can't remember it off the top of my head...
>
>
>>>Can someone please remind me how to easily show an empty value in an editbox on a form (not in a grid) when always in edit mode (the user simply tabs to the control or clicks in it to start entering a value) or "" when the real value REALLY IS null. (Nothing entered yet).
>>
>>Could you set the value?
>>Editbox.Value=IIF(ISNULL(Editbox.value),'',Editbox.value)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform