Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Padding with zeroes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00137666
Message ID:
00137712
Views:
21
>In one of the textboxes a receipt number is entered. Currently it is something like H5769. To make provision for future larger numbers ie T65789 I want to pad the number H5769 to H05769. Do I put the code to do this in the LostFocus property?
>
>As a matter of interest what would the InputMask look like?
>
>Thanks.
>
>Petrus.

You can put this code into LostFocus() but make sure it fires when you jump straight to SAVE button from this textbox.

Input mask should be 'X99999'.

Bye
Jayesh
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform