Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying large numbers in a grid
Message
From
21/04/2002 12:56:59
 
 
To
21/04/2002 12:22:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00647351
Message ID:
00647361
Views:
9
>I am trying to display large integers from a field(from a table) bound to a controlSource of a textbox on a grid. The numbers are in stored in millions (i.e 17,665,837.12) that I would like to display in the grid column as 17.66 (in millions). Is there a Format/Input Mask property setting that accomplishes this?? Right now the ControlSource is set to : v_table.nAmount. Will the controlsource property accept an expression (v_table.nAmount/1000000) ?? TIA

Ed,

Yes. But I believe that you have to precede the expression with = if you do it in the form designer

eg : = round(v_table.nAmount/1000000, 2)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform