Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input masks
Message
De
15/07/2004 10:49:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
15/07/2004 09:57:16
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00924656
Message ID:
00924686
Vues:
7
It seems more convenient to me to save the "project number" as a separate field. This may not apply to your case, but in many similar cases, that is what I would do.

>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
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform