Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input mask problem
Message
From
22/04/2009 19:10:39
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Input mask problem
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01395998
Message ID:
01395998
Views:
128
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
Next
Reply
Map
View

Click here to load this message in the networking platform