Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 first letters in a field are fixed
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00702996
Message ID:
00703789
Views:
15
>Nadya,
>
>A is a template character as is 9. A allows any character and 9 any digit. I would try doing this using a label and textbox. The label shows AO and the textbox allows entry of the other characters. You can use the Valid event to replace the field with the "AO" + textbox.Value and the Refresh to display the SUBSTR(FieldName,3).

Hi Jim,

I implemented my own solution based on GotFocus(), but just discovered, that it's not working 100% reliably. I think, I'll give your idea a go then.

Thanks a lot.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform