How to display zeroes in Listboxes

[Migrated content. Thread originally posted on 23 September 2011]

I have fields defined in a listbox as zzz,zzz,zz9.99-, but they show up as blank when their value is zero. Users would prefer seeing the zeroes. Is there any way to do this?

There are also pic x fields in the listbox.
Parents
  • Verified Answer

    Can you please provide some more details?
    What product and version number is this, Net Express/Dialog System or Visual COBOL?

    Is this a Listbox or a ListView control?
    How and where are you defining the PIC clauses for the items?

    I just tried this here with Dialog System and created a Listbox associated to a Group of two items and it did not suppress the zeroes.

    There is a checkbox for blank when zero that can be turned on or off for these field definitions when defining the display group.
Reply
  • Verified Answer

    Can you please provide some more details?
    What product and version number is this, Net Express/Dialog System or Visual COBOL?

    Is this a Listbox or a ListView control?
    How and where are you defining the PIC clauses for the items?

    I just tried this here with Dialog System and created a Listbox associated to a Group of two items and it did not suppress the zeroes.

    There is a checkbox for blank when zero that can be turned on or off for these field definitions when defining the display group.
Children
No Data