Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spinner box and decimal places
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01461958
Message ID:
01461961
Vues:
54
Derek,

Have you tried setting the InputMask?

-Dan

>Hi
>
>I have a spinner box, tied to a datasource which has a datatype of decimal 5,2. The data appears correctly until a piece of code performs a calculation on the data field, whereupon the spinner box shows 5 decimal places.
>
>I've set decimals to 2, I've even set the format property of the spinner box, but each time I perform the calculation the field shows 5 decimal places. When I perform a tableupdate the decimal places go back to 2.
>
>Any ideas, it's driving me mental?!!?
>
>Regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform