Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input mask problem
Message
De
22/04/2009 19:10:39
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Input mask problem
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01395998
Message ID:
01395998
Vues:
129
Hi,

I am using a textbox to display/edit a 6-digit number (bank-account sort-code, UK format) in different formats depending on whether the user is authorised to view/edit the full code or not.

To this end I have a format code 'R' and an input mask set in textbox.refresh as follows...
this.inputmask = IIF(authorised,'99-99-99','**-**-99')

The first mask displays the code correctly as 12-34-56, but the unauthorised mask is displaying as **-**-12.

How can I get the textbox to display digits in the right position, eg. **-**-56?

TIA
Alan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform