Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you hide NULL from the UI?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How do you hide NULL from the UI?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01462853
Message ID:
01462853
Views:
118
Hi,

Say I have a form with textboxes bound to a cursor (retrieved from a SQL Server via SPT) and some values in the cursor are NULL. I prefer that the customer does not see the NULL but instead an empty textbox. How do you hide the NULL from these textboxes?

Also, I prefer not to change the value in the cursor from the NULL to empty string for 2 reasons: 1 time that this procedure will take 2 - on Save I would have to convert the value back to NULL.

TIA.
"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
Next
Reply
Map
View

Click here to load this message in the networking platform