In the VFP Help:
Z Displays the value as blank if it is 0, except when the control has the focus. So, seems no way.
You may solve this problem by setting foreground color to the same as back color of textbox when value = 0 in GotFocus event. Than, when user type something, set fore color back to original.
>It is numeric and the 'Z' is set on both the column and the column's textbox.
>
>Jim
>
>>>That didn't work . . .
>>>
>>>Jim
>>>>>I have a grid with a quantity column. The cell that has focus is displaying 0. How do I get rid of the 0?
>>>>
>>>> Use 'Z' in the Format property of column or column text box.
>>
>> Set both for column and text box.
>> BTW, which type of field for that column? 'Z' works for numeric fields only.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.