Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency format
Message
 
To
05/04/2007 14:54:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01212654
Message ID:
01213427
Views:
18
You just have to set the inputmask and format properties of the control to the desired format. For example:
  Thisform.textbox1.InputMask="999,999,999.99" 
  Thisform.textbox1.Format="R" 
HTH,

Enmanuel

>Why does the Currency field type carry 4 decimals, and if it is used in a form textbox or report control, how should it be formatted so it only displays 2 decimals?
>
>Seems like a bother to me. Why not just use N(10,2)?
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Reply
Map
View

Click here to load this message in the networking platform