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.comICQ #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.