Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Compound PDF error on Page <ibi-page-number/> of <ibi-total-pages/>

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Compound PDF error on Page <ibi-page-number/> of <ibi-total-pages/>
 Login/Join
 
Guru
posted
I am having some issue on compound PDF report on WF Server 8.1.05.

The problem is on:
A)
OBJECT=STRING, NAME='Page', TEXT='Page <ibi-page-number/> of <ibi-total-pages/>', POSITION=(+545 50), MARKUP=OFF,  


Result is:
 Page <ibi-page-number 



B) OBJECT=STRING, NAME='Prog', TEXT='Prog: advr0038', POSITION=(+545 750), MARKUP=OFF,
Result is: Pr


It works fine on my APP Studio 8.1.05


 
 
SET CDN = ON
SET NODATA = 0
SET ASNAMES = ON
SET EMPTYCELLS = OFF

SET CENT-ZERO = ON


SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF AS CAR
UNITS=PTS, $
SECTION=section1, LAYOUT=ON, METADATA='5^5^5^5^4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=LETTER, SHOW_GLOBALFILTER=OFF, $

PAGELAYOUT=ALL, $
COMPONENT=HEADER, TYPE=REPORT, POSITION=(7 7), DIMENSION=(* *), $
OBJECT=STRING, NAME='Page', TEXT='Page <ibi-page-number/> of <ibi-total-pages/>', POSITION=(+545 50), MARKUP=OFF,
        WRAP=ON, DIMENSION=(6.0 0.9) FONT='FORD CE BLACK', COLOR=RGB(128 128 128), STYLE=BOLD, SIZE=6, $

OBJECT=STRING, NAME='Prog', TEXT='Prog: advr0038', POSITION=(+545 750), MARKUP=OFF,
        WRAP=ON, DIMENSION=(6.0 0.9) FONT='FORD CE BLACK', COLOR=RGB(128 128 128), STYLE=BOLD, SIZE=6, $


PAGELAYOUT=1, NAME='advr0038', text='advr0038', TOC-LEVEL=1, TOPMARGIN=10, ORIENTATION=PORTRAIT, $

COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(10 65), DIMENSION=(* *), $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(+80.00 +45.00), DIMENSION=(* *), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT,  $

END

SET COMPONENT=HEADER


TABLE FILE CAR
HEADING
"PARTICIPACION & VOLUMEN"
""
"Empresa: FORD MOTOR DE VENEZUELA, S.A"
"&DATEDwMtrYY &TOD"
BY COUNTRY NOPRINT
IF READLIMIT EQ 1
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET STYLE *
$
TYPE=REPORT,
     IMAGE=ford_logo.jpg,
     SIZE=(1.000000 0.291667),
$
TYPE=HEADING, FONT="FORD CE BLACK", $
TYPE=HEADING, POSITION=1.05, $
TYPE=HEADING, LINE=1, SIZE=12, STYLE='BOLD', JUSTIFY=CENTER, $
TYPE=HEADING, LINE=3, SIZE=8, JUSTIFY=LEFT, $
TYPE=HEADING, LINE=4, SIZE=6, JUSTIFY=RIGHT, $

END



SET COMPONENT='report1'

TABLE FILE CAR
SUM SALES
BY COUNTRY
HEADING
"Period: TEST"
ON TABLE SUBFOOT
"testing"
"VALUE - I just want backcolor on ITEM=1 (VALUE)"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
   INCLUDE = endeflt,

$

TYPE=REPORT, SIZE=7, $
TYPE=TITLE, SIZE= 7, $
TYPE=DATA, SIZE=6, $
TYPE=ACROSSVALUE, SIZE=8, $

TYPE=HEADING, JUSTIFY=LEFT,  SIZE=9, $

TYPE=HEADING,  LINE=4, SIZE=8,  JUSTIFY=RIGHT, $
TYPE=TABFOOTING, LINE=1, BORDER-TOP = LIGHT,  $
TYPE=TABFOOTING, LINE=2, ITEM=1, COLOR='BLUE', BACKCOLOR='GREY', STYLE=BOLD, BORDER-TOP = LIGHT, $

ENDSTYLE
END

-RUN

SET COMPONENT='report2'
TABLE FILE CAR
SUM SALES
BY CAR

ON TABLE SUBFOOT
"Powered by VESIR"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
   INCLUDE = endeflt,
$
TYPE=REPORT, SIZE=8, $
TYPE=TITLE, SIZE= 8, $
TYPE=DATA, SIZE=8, $
TYPE=ACROSSVALUE, SIZE=8, $
TYPE=HEADING, JUSTIFY=LEFT,  SIZE=9, $

TYPE=HEADING,  LINE=4, SIZE=8,  JUSTIFY=RIGHT, $
TYPE=TABFOOTING, LINE=1, SIZE=8, BORDER-TOP = LIGHT,  $
END

 




Report Result PDF

This message has been edited. Last edited by: Ricardo Augusto,


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Can anyone run this code on WF8 please?


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
  
SET COMPONENT='report1'
TABLE FILE CAR
SUM SALES 
BY COUNTRY
HEADING
"Period: TEST"
ON TABLE SUBFOOT
"testing"
"VALUE<+0> - I just want backcolor on ITEM=1 (VALUE)"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
-*   INCLUDE = endeflt,$

TYPE=REPORT, SIZE=7, $
TYPE=TITLE, SIZE= 7, $
TYPE=DATA, SIZE=6, $
TYPE=ACROSSVALUE, SIZE=8, $

TYPE=HEADING, JUSTIFY=LEFT,  SIZE=9, $

TYPE=HEADING,  LINE=4, SIZE=8,  JUSTIFY=RIGHT, $
TYPE=TABFOOTING, LINE=1, BORDER-TOP = LIGHT,  $
TYPE=TABFOOTING, LINE=2, ITEM=1, COLOR='BLUE', BACKCOLOR='GREY', STYLE=BOLD, BORDER-TOP = LIGHT, JUSTIFY=LEFT,$

ENDSTYLE
END

-RUN



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Seems to work fine for me on 8.1.04


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Thanks Tom.


Waz,

So
 
OBJECT=STRING, NAME='Page', TEXT='Page <ibi-page-number/> of <ibi-total-pages/>', POSITION=(+545 50), MARKUP=OFF,
        WRAP=ON, DIMENSION=(6.0 0.9) FONT='FORD CE BLACK', COLOR=RGB(128 128 128), STYLE=BOLD, SIZE=6, $

OBJECT=STRING, NAME='Prog', TEXT='Prog: advr0038', POSITION=(+545 750), MARKUP=OFF,
        WRAP=ON, DIMENSION=(6.0 0.9) FONT='FORD CE BLACK', COLOR=RGB(128 128 128), STYLE=BOLD, SIZE=6, $

 



Is working fine there?


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Can anyone run my code on 8.105 please?


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
I'm only in 8007... But it works (after I removed the Ford logo the INCLUDE = endeflt...




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
Seems to be working here on 8.1.04.

Page 1 or 1 at the top and Prog: advr0038 at the bottom


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Hello Ricardo,

I ran your code in Dev Studio on 8105 and everything seemed to work fine (I also removed the Ford logo and updated endeflt reference to match our path).

Joe


JC
WebFOCUS Dev Studio / App Studio
8.2.01
Windows 7
 
Posts: 146 | Registered: November 09, 2015Report This Post
Guru
posted Hide Post
jcannavo, the problem happens when run it from WebFOCUS 8105 Server. Can you test it there?

It works on my APP Studio too.

Thanks


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Anyone using 8105 there?


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Frowner


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
<Emily McAllister>
posted
Hello,

I ran your code in my own installation of 8.1.05 and did not have any issue. I am not sure why this is happening to you.
What GEN of 8.1.05 do you have installed?

Emily McAllister
Focal Point Moderator
 
Report This Post
Guru
posted Hide Post
quote:
Emily McAllister



Hi,

I am able to run it under my APP Studio 8.1.05.

I am still getting that weird thing on Page ibi-page-number/> of ibi-total-pages/> and other object=string when running this code on WebFOCUS Reporting Server:

Edition: WebFOCUS
Product Release: 8.1
Service Pack: 0.5
Build Version: branch8105m
Build/GEN Number: 2
Build/GEN Date: September 25,2015 8:55:09 am EDT
Application Server: Apache Tomcat/7.0.33


Thanks


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Case #160404017 opened.

https://inforesponselive.infor...se/Details/160404017


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Problem solved on gen 882.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Compound PDF error on Page <ibi-page-number/> of <ibi-total-pages/>

Copyright © 1996-2020 Information Builders