Re: Input Mask ..



You could check for first character and last character is and "A"
after you set the mask X99999X.
IF LEFT (char,1) <> "A"
do something, send message or make it an "A"
ENDIF
IF RIGHT(char,1)<> "A"
do something, send message or make it an "A"
ENDIF
TonySper

"Tanveer H. Malik" <tanmalik@xxxxxxxxxxx> wrote in message
news:Oz414vcgFHA.2472@xxxxxxxxxxxxxxxxxxxxxxx

I want to set an Input Mast to accept input like "A12345A" - 'A' is a
literal followed by 5 Numeric and then again an 'A' in the end, but
could
not sortout a propper input mask.

Using foxpro 8.0 Professional.

Thanks in advance.




.



Relevant Pages

  • Re: Input mask problem
    ... So the very first character needs to be capitalised, ... You simply cannot do this with an Input Mask. ... using the StrConvfunction to translate the user's input into Proper ... Private Sub txtName_AfterUpdate ...
    (microsoft.public.access.forms)
  • Input mask problem
    ... mask to make it so that the first character of each word entered in a text ... So the very first character needs to be capitalised, ... character after a space needs to be capitalised. ...
    (microsoft.public.access.forms)
  • Validation in Textbox
    ... I'm sure this is asked tons of time. ... How can we create the "mask" feature in vs.net? ... So that user can enter first character only as text, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Date arithmetic and Zune bug
    ... The code I wrote to handle this problem was written in Jan 2000, then we had another discussion in 2005, at which time one of the IBM regulars pointed me at an IBM report which used very similar ideas. ... /* Useful and faster approximation to the number of years, ... INC_IF_MASK(m, mask); ...
    (comp.arch)
  • [patch] Add allowed_affinity to the irq_desc to make it possible to have restricted irqs
    ... This patch adds an "allowed_affinity" mask to each interrupt, ... #ifdef CONFIG_SMP ...
    (Linux-Kernel)