>>How can I format a character field for, if the field be SPACE(5), when I
>>enter "1", be formated to "00001" or "222" be formated to "00222" ?
>>
>Something like
>
>this.value = REPLICATE("0",FSIZE(myfield) - LEN(ALLTRIM(this.value)) ) +
>ALLTRIM(this.value)
>
>in Valid() event probably might help.
>
>Nick
Thanks Nick, but when I run the form, I receive the following error
message "Too long sequence bla,bla..."
What's happens ?
Thanks,
Alano Teles
lano@programmer.net