Home > Archive > FoxPro Help and Support > June 2005 > Inputmask/Format problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Inputmask/Format problem
Rosen

2005-06-15, 1:25 pm

Hello everyone!

I have a textbox with control source as a C(10) field of a table. How can I
use textbox's FORMAT or/and INPUTMASK to make it possible only the last 3
symbols of the field to be inputed and the starting 7 characters to remain
empty (the textbox should be short and the field is long)?
I tried to set the INPUTMASK property to space(7)+"XXX", but it didn't work.
It is just as if the inputmask is set to "XXX".


Fred Taylor

2005-06-16, 3:27 am

Better to break this up into 2 fields if you're not going to allow input in
the first 7 characters and reconstruct your field when saving.

--
Fred
Microsoft Visual FoxPro MVP


"Rosen" <rosen@antispam.com> wrote in message
news:eudgopdcFHA.612@TK2MSFTNGP12.phx.gbl...
> Hello everyone!
>
> I have a textbox with control source as a C(10) field of a table. How can
> I
> use textbox's FORMAT or/and INPUTMASK to make it possible only the last 3
> symbols of the field to be inputed and the starting 7 characters to remain
> empty (the textbox should be short and the field is long)?
> I tried to set the INPUTMASK property to space(7)+"XXX", but it didn't
> work.
> It is just as if the inputmask is set to "XXX".
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com