Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value to % in Grid
Message
 
À
11/05/2009 11:06:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01399084
Message ID:
01399099
Vues:
36
>>Hi Gang!
>>
>>Question
>>
>>In a grid, I am displaying the percentage of a discount as N.NNNNN
>>
>>eg 0.25 is 25% 0.45 is 45 %
>>
>>I want to display this percentage visually as 25 and 45. How to do this IN the grid?
>>
>>Thanks!
>
>You can use calculated column controlsource, i.e. Grid.Column.Controlsource='100*alias.discount'. It works if you just show the value, i.e. user cannot change it in the grid.

Thanks!
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform