Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Display Format question?

edited February 2013 in General
Hi

I have numeric fields (a lot of them) on a report. I want to put a +
sign for positive numbers and - for negative ones. But nothing for zero.
Can I do this with display format.

I just down want the end users writing rap code for this.

Using Rb 12.05

Best regards
Bora Aydemir

Comments

  • edited February 2013
    Hi Bora,

    ReportBuilder uses the Delphi Format routines to apply a display format
    (see the ppDisplayFormat.pas file).

    In Delphi if you would like the effect you describe below, you would
    apply a format string similar to this: '+#,0.00;-#,0.00;#,0.00'

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2013
    Thanks Nico,

    You saved my day

    26/02/2013 16:05 tarihinde, Nico Cizik (Digital Metaphors) yazdi:
This discussion has been closed.