Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppressing Zeros on forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00033347
Message ID:
00033459
Views:
43
> > >I would like to be able to suppress zeroes from showing up in text boxes > on a form for numeric fields. If my table has numeric fields, the default > is to display zeroes in the text boxes. The only way around it so far I > have found is to use charater fields in my database, but then the data is > automatically left justified, and I have to do VAL() on them every time I > want to do math. > > > >Any suggestions? Thanks in advance. > > Karl, put a Z in the format property. This tells the textbox to show a > blank instead of a 0 > > Barbara Barbara, That will work in VFP5 (because Columns have a format property), but in VFP3 the only way (that I know of course) is to use the dynamicBackColor property (i.e. setting it to the ForeColor). Regards, Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform