Jump to content

PDF reports drop trailing ')' on negative Sub Total numbers


Garth Colasurdo

Recommended Posts

After upgrading to 9.2.3 (from 9.0.1) we are having a problem with the display of negative numbers that use the formatting D12.2CB. It drops the trailing ')' from the right most column in a sub or grand total.

It only happens on PDFs. HTML and Excel display correctly. Further it only seems to affect the second column after another negative column. The code is written in App Studio and has been working for many years.

Has anyone experienced this or behavior like this?

Grand Sub and Total.png

Only Right Most Column.png

Singles ok but 2nd columns.png

Link to comment
Share on other sites

On WebFOCUS 9.1.0 I created this code:

 SET STYLE=WARM
 TABLE FILE GGSALES
 SUM 
 COMPUTE UNITS /D12.2CB = -1 * UNITS;
 COMPUTE DOLLARS2/D12.2CB = -1 * DOLLARS;
 BY REGION
 BY ST
 BY CITY
 ON REGION SUB-TOTAL
 ON TABLE PCHOLD FORMAT PDF
 END

When I run I don't see any dropped parenthesis. What happens when you run in on your release?

Link to comment
Share on other sites

When I make a simple test against the Cars sample, I don't get the dropped parenthesis either. However, for our suite of financial reports it started showing up. This makes it hard to share with support. We can't tell if it is an interaction with the PDF engine, style sheets, or a change to the FOCUS code.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...