Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency field display problem
Message
From
08/10/2001 02:08:44
 
 
To
08/10/2001 01:35:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00565353
Message ID:
00565361
Views:
19
Hi!

You can only convert it to numeric value or use the input mask. If you use currency field often, you can ake your own textbox class specially for Currency fields and it will contain already all frmatting required. You will not need to modify properties of each such textbox, just put them on the form from your classlib by drag&drop from the project manager. For grids you can loop through columns and see - if field type is currency ("Y"), set up the input mask for column also.

HTH.

>Hi,
>I am having a small difficulty. I have a currency field which is displayed on the form in a text box but this field would not obey
Set Decimals To 2
>Set fixed On
setting. The only way i can control the display is by changing the textbox format property to $999,999,999.99 and than it would show me values in 2 decimal digits.
>How can i make Set Decimal setting effective on currency fields?
>Sanjay
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform