Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formating Fields
Message
From
13/10/1997 14:10:15
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054260
Message ID:
00054342
Views:
31
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
Map
View

Click here to load this message in the networking platform