Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting Problem with Money Data Type
Message
From
31/12/2002 02:24:48
 
 
To
31/12/2002 02:03:43
Lakhani Anil
Lakhani Software Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00736871
Message ID:
00736873
Views:
7
Lakhani, here is one possible solution: if you specify "999" as the InputMask then decimals are hidden. (NB. you need to include enough '9' in your InputMask to satisfy the largest value you want to cater for).

HTH


>I am using Money data type in my database, but we normally wants full integer part of money only, but in application it displays with 4 decimals. Even I tried, Input Mask and Format Property to display only integer part of money, but still it is showing with decimals. But while user is putting data at that time it removes decimals and again in lost focus textbox displays data with decimals.
>
>So what to do for display as well as for input in integer format?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform