Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty TimeDate Display
Message
From
10/07/2003 17:43:23
 
 
To
10/07/2003 16:21:18
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00809003
Message ID:
00809044
Views:
41
>Foxpro always displays an empty datetime as " / / : : AM".
>Does anyone know of a uncomplicated means of displaying an empty field when its empty?

In the Refresh of the TextBox, you could put this:
IF EMPTY(this.Value)
  this.ForeColor = this.BackColor
ELSE
  this.ForeColor = RGB(0,0,0)  && Black
ENDIF
Might cause a bit of a problem if they need to actaully enter values in this field.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform