Since FSIZE returns the file size in bytes, perhaps Nick meant a different function. The way I'd do it is
this.value = PADL( ALLTRIM( this.value ), '0', 5 )
in the valid().
>>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..."
> Alano Teles
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only