Focal Point
[SOLVED] Incorrect value in TABLASTPAGE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/707103093

March 09, 2010, 02:52 PM
Robert Fedash
[SOLVED] Incorrect value in TABLASTPAGE
When I have multiple lines on my footing the TABLASTPAGE variable has the wrong value in PDF.

FOOTING BOTTOM
-IF &PRINTFMT NE 'PDF' THEN GOTO NOPGDISP;
""-NOPGDISP

If I leave the copyright line in my last page says '56 of 89'. When I remove the copyright line I get '56 of 56'???

Any help would be appreciated.

Robert F.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF
March 09, 2010, 02:54 PM
Robert Fedash
Here is the actual code. It didn't show up correctly in the first post.

FOOTING BOTTOM
-IF &PRINTFMT NE 'PDF' THEN GOTO NOPGDISP
""-NOPGDISP


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF
March 09, 2010, 02:55 PM
Robert Fedash
Let me try one more time.

FOOTING BOTTOM
""


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF
March 09, 2010, 03:10 PM
Robert Fedash
Hopefully this works this time.

FOOTING BOTTOM
-IF &PRINTFMT NE 'PDF' THEN GOTO NOPGDISP;
"< TABPAGENO of < TABLASTPAGE"
"< COPYRIGHT"
-NOPGDISP


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF
March 09, 2010, 03:12 PM
GinnyJakes
Robert, are you putting your code inbetween the code tags, i.e. rightmost red button in the 'post a reply' window? If you do that, we'll be able to see all of your code.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
March 09, 2010, 03:18 PM
Robert Fedash
The code should be in my last post now.


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF
March 09, 2010, 03:57 PM
Dan Satchell
Here is a post from IBI's tech support site. If you run a search for "Known Problem TABLASTPAGE PDF" using the Advanced Search link at the top of the forum page, you will find other postings as well.

quote:

Known Problems

Summary: Border:PDF: LAST PAGE No is not being displayed correctly
Case: 51332006 Product: WebFOCUS Web Components
Status: Closed Date Reported: 05/13/2009

Environment Detail Information

Product Release Gen Level OS
Reported in: WebFOCUS Web Components 7.6.8 WIN/XP
Fixed in: WebFOCUS Web Components 7.6.10 WIN/XP
Fixed in: WebFOCUS Web Components 7.7.00 WIN/XP

Problem Detail Information

Description:

The Last Page Num is displaying an incorrect number in PDF when the borders
are set in the inline style sheet section of the focexec.
Workaround:

Comment out all references to Border in the Heading and the LastPage No will
be correct.



WebFOCUS 7.7.05
March 09, 2010, 04:01 PM
Francis Mariani
Also:

PDF using TABLASTPAGE results in higher TOTAL pg value

Summary: PDF using TABLASTPAGE results in higher TOTAL pg value
Case: 52242558 Product: WebFOCUS Web Components
Status: Closed Date Reported: 08/20/2009

Environment Detail Information

Product Release Gen Level OS
Reported in: WebFOCUS Web Components 7.6.9 VISTA
Also Occurs in: WebFOCUS Web Components 7.6.9 WIN/XP
Fixed in: WebFOCUS Web Components 7.6.10 ALL
Fixed in: WebFOCUS Web Components 7.6.10 VISTA
Fixed in: WebFOCUS Web Components 7.7.00 VISTA

Problem Detail Information

Description:

PDF using TABLASTPAGE with SQUEEZE and RECOMPUTE/SUBTOTAL results in a
higher total page count (TABLASTPAGE). PRINTPLUS ON or OFF can sometimes
effect the number but not to the point of being correct.

Workaround:

None.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 09, 2010, 04:01 PM
Robert Fedash
Thanks Dan.


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF
March 09, 2010, 04:02 PM
Robert Fedash
Thanks Francis.


WebFOCUS 7.6.8
Windows 2003
HTML/Excel/PDF