Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 - 12 0.00 gets 120.00 in numeric object
Message
From
27/07/1998 15:21:38
Dick Janson
Affordable Business Systems
Laingsburg, Michigan, United States
 
 
To
27/07/1998 13:20:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00121694
Message ID:
00121739
Views:
13
>Text object is set up for 9999.99 field. If user enters less than 4 digits to left of decimal, the zero in the units position becomes attached. I have the property for SelectOnEntry set to true.
>
>Is there a workaround or setting that will help?

First - Thanks, Jim Booth for the referral to the UT Library.

This situation has been with me since dBase days. When it showed up in FoxBase, I figured it was something I had to tell users to live with ... that is the way it is!

No more!

If, when creating a new record with insert into (and this may be true of append), give each numeric field a specific value (i.e. 0.00) rather than assume that it will be properly filled in if you don't mention a value (or in the case of append memvar, the variable has not been defined).

Doing this eliminated the problem for me. It's only been 18 years to come up with this --- just a little longer than my average. ;-)

Dick
Previous
Reply
Map
View

Click here to load this message in the networking platform