Subject Re: [IBO] How to get blank edits????
Author Geoff Worboys
> that my users wish to see blank if the value is zero.
> I am using

> FieldsDisplayFormat = T_Currency=0.00;-0.00;#

> to achieve that. However, if the user enters a TIB_Edit field
> to edit, then a '0' shows up. How can I cause those fields
> to remain blank for them to key into. I don't want the
> fields in the db to be null, I want them to contain '0'
> if the value is zero.

> What properties do I need to set to obtain this.

I dont think it is possible using TIB_Edit. The field is blank when
not focused, 0 when focused - which means it is operating as designed.
Perhaps you could using an EditMask, but then you get '_' showing up
instead of zero.

If you ask Marco Menardi really nicely then he may consider adding a
property to IB_Currency to support blank on zero (if it is not
possible at already). I would suggest my Enhanced components but I am
not certain that it will give you exactly what you want either. I can
experiment if you are at all interested.

Geoff Worboys
Telesis Computing