Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input masks
Message
From
15/07/2004 09:57:16
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Input masks
Miscellaneous
Thread ID:
00924656
Message ID:
00924656
Views:
42
Hello all,
I have a textbox that I want to default (read force) a prefix containing an alpha-numeric value such as '1234-0C'. The first 4 numbers come from a project number that I don't want the users to be able to change. I was thinking of using an inputmask...

object.inputmask=str(projnum,4)+'-'+repl('!',10)

It works except when there is a "9" in projnum. Any ideas other than breaking it up into 2 textboxes?.

TIA
L.A.Long
ProgRes
lalong1@charter.net
Next
Reply
Map
View

Click here to load this message in the networking platform