Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spinner box and decimal places
Message
De
25/04/2010 13:43:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Spinner box and decimal places
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:
01461958
Vues:
115
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform