Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Padding with zeroes
Message
From
18/09/1998 08:22:38
 
 
To
17/09/1998 21:28:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00137666
Message ID:
00138140
Views:
15
>>>You can try this in lostfocus
*lostfocus
>>>this.value = substr(this.value,1,1)+;
>>>        padl(val(substr(this.value,2)),5,"0")
Inputmask would be something like "A99999" and format "!".
>
>>Change lostfocus code to :
this.value = substr(this.value,1,1)+;
>>        padl(substr(trim(this.value),2),5,"0")
Cetin

TRANSFORM("@L 999999",XXX) pads XXX representation with zeroes; I would try to use that instead of PADL().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform