Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left zeros
Message
From
03/09/2007 09:59:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/09/2007 09:47:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01251899
Message ID:
01251961
Views:
12
>>How can I put zeros at left side of a field in a grid ?
>
>You must use a spinner or a text box as the field control.
>In the format property of that control you must do something like:
>
>    form1.grid1.column1.text1.format = "LLLL.LL"
>    form1.grid1.column1.text1.inputmask = "9999.99"
>
>
>Of course you can do that visualy, but you got the idea...
>
>But this will not put the value 0004.56 at the table field, the table will hold 4.56 as usual, but when this value is displayed in the grid, it will be seen like 0004.56.
>
>Note: the ControlSource property must be of numeric type in order to the format clause LLLL.LL work.

Actually, just one L in the .format should do.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform