Garth Colasurdo Posted Tuesday at 03:35 PM Share Posted Tuesday at 03:35 PM 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? Link to comment Share on other sites More sharing options...
David Beagan Posted Tuesday at 07:28 PM Share Posted Tuesday at 07:28 PM 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 More sharing options...
Garth Colasurdo Posted Tuesday at 08:51 PM Author Share Posted Tuesday at 08:51 PM 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 More sharing options...
David Beagan Posted Wednesday at 11:43 AM Share Posted Wednesday at 11:43 AM It looks like some kind of odd bug. You would have to take a copy of one of your reports and start selectively removing parts of the code. Keep doing this until you have a minimal set of code that triggers the error. Hopefully from there you could see what exactly is triggering the issue, and come up with some kind of work around. Link to comment Share on other sites More sharing options...
Garth Colasurdo Posted Wednesday at 02:45 PM Author Share Posted Wednesday at 02:45 PM Thanks for the feedback. It is a very weird and specific bug. I was hoping someone else may have come across it. 1 Link to comment Share on other sites More sharing options...
David Briars Posted Wednesday at 07:46 PM Share Posted Wednesday at 07:46 PM When you open the .pdf in a text editor, to you see the closing ')' OK? If so, sounds like a rendering issue of some sort. As David, suggests, try taking away some code to see if you can get the ')' to resolve. I might try to start with taking away styling. 1 Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted yesterday at 12:52 PM Share Posted yesterday at 12:52 PM @Garth Colasurdo - which PDF viewer are you using ? Sometimes I saw rendering issues with the PDF engine built into Chrome or Edge but not in Adobe Reader? Link to comment Share on other sites More sharing options...
Garth Colasurdo Posted 20 hours ago Author Share Posted 20 hours ago Thanks for those suggestions. The PDFs seem to be formatted correctly by that example. The PDF engine is both Edge and Reader- I downloaded the extension to see if that had an effect. I got kind of excited that maybe FireFox would be different. But it still renders with the same issue. I might try Safari/Apple Preview out of curiosity. I'll have the developer try removing formatting by layers to see if we can see where the anomaly comes in. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now