Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency Field in a Grid
Message
From
24/09/2002 15:55:40
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Currency Field in a Grid
Miscellaneous
Thread ID:
00703964
Message ID:
00703964
Views:
43
I am trying to place a currency field on a grid using an "ordinary" text box. Since we're in the States, I only want to display 2 decimal places. When the currency field displays in the grid, it displays 4 decimal places.

I tried putting an input mask of 9999.99 in the properties. However, that only works when the focus is in the field. Whenever the focus is not on the field, 4 decimals are displayed.

Is this a quirk of the grid control or is there something I'm missing? This has to be something really simple.

TIA.
Steven Herbin
SNH Computing Corporation
Swan Lake, NY
Next
Reply
Map
View

Click here to load this message in the networking platform