Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Value to % in Grid
Message
 
To
11/05/2009 11:06:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01399084
Message ID:
01399099
Views:
35
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform