Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Silly Question on Edit Box display of .null. (not in gri
Message
From
09/02/2007 11:31:02
 
 
To
09/02/2007 11:27:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01194095
Message ID:
01194109
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform