My question was about form's control. It should be prefilled, I experimented with KeyPress, but don't like the result. I'm now experimenting with GotFocus...
Ok, GotFocus seems to work well...
Can I have InputMask A99999999? It doesn't seem to work...
>What about
lcValue = "A012 456"
>? LEFT(lcValue,2) <> "A0" ;
> OR LEN(ALTRIM(lcValue)) <> 8 ;
> OR LEN(CHRTRAN(PADR(SUBSTR(lcValue,3),6), "1234567890", ""))> 0
>
>>Hi everybody,
>>
>>I have a character 8 field, which should always have 'A0' as two first letters and all other 6 letters must be digiits. I'm thinking, how should I implement such control...
>>
>>Do you have ideas?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.
My Blog