Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 - 12 0.00 gets 120.00 in numeric object
Message
De
27/07/1998 15:21:38
Dick Janson
Affordable Business Systems
Laingsburg, Michigan, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121694
Message ID:
00121739
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform