c1report - not print zero value

Posted by: massimo.valtolina on 30 March 2020, 3:12 am EST

  • Posted 30 March 2020, 3:12 am EST

    Hi,
    Is it possibile do not print a number if it's zero ?
    At the moment, using format, i have 0,00

    Thanks in advance
  • Marked as Answer

    Replied 30 March 2020, 5:04 pm EST

    Hi Massimo,

    You can use the script to hide the record that has 0 as a value in the OnPoint property of the detail section.
    If you using a report by code then you can use the PrintSection event to do the same. As done in the attached sample, please have a look.

    Regards,
    Prabhat Sharma.
    C1ReportDemo.zip
  • Replied 4 April 2020, 4:24 am EST

    Thanks Prabhat Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels