Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comma in text box
Message
From
22/03/2004 15:38:21
 
 
To
22/03/2004 15:14:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00888628
Message ID:
00888636
Views:
8
If just in an object on a form then put in .Valid or .LostFocus event. If it is a textbox class can put in an _Assign method. Then you can drop that box on any form you want this desired result.
This.Value=ALLTRIM(TRANSFORM(VAL(This.Value),"###,###"))
Play with the command to get the exact desired result.

Aloha,

James
>Hi
>
>I have a text box with inputmask='99,999' I want the comma only if the amount is > 1000
>
>thanx
Previous
Reply
Map
View

Click here to load this message in the networking platform