Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show empty field as empty in a Grid Control (not 0.00).
Message
From
08/07/1999 08:37:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/07/1999 09:39:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00238241
Message ID:
00238784
Views:
14
>I have created a temporary table which I use in a grid control. The table contains character, numeric and currency field. When I create the table I insert 150 empty records. Now in the grid control the character field looks fine (empty) but not the numeric and currency field (they have 0.00 written it them). How do I do to not show anything in them when the table field is empty?
>
>And why is the numeric field empty when it gets focus but not the currency field?
>
>/Mårten Törnquist

Put a "Z" in the Format property of these textboxes - it means "blank when zero". Though, it won't be nice if you really have a new value which accidentally is zero - it will look blank. If this is not what you need, go for the .null. solution.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform