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.
I'd like to change the header of a report based on the page number. I've seen some conditional header threads on the forum but putting that code into the header doesn't work.
so IF PAGENO EQ 1 THEN Something ELSE IF PAGENO EQ 2 THEN Something ELSE something
Or any other work around using defines or something, really I just want the header to change per page depending on the page number.This message has been edited. Last edited by: Tamra,
WebFocus 8.2, IA+, Windows 10, HTML
Posts: 56 | Location: UT | Registered: December 01, 2015
I have a field that only changes when the page changes so if there is a way to base it off of that field that would work too. I have it set so there's only 100 records per page by a field that is limited to 100 records so every 100 records that field changes and so does the page. I would like that field in the header if possible (changing per page), if not I'll just have to live without it, seems like there would be a way to do that though.
WebFocus 8.2, IA+, Windows 10, HTML
Posts: 56 | Location: UT | Registered: December 01, 2015
You will need to use WHEN with your HEADING syntax
With the CAR file:
TABLE FILE CAR
SUM CAR.BODY.SEATS
BY CAR.ORIGIN.COUNTRY PAGE-BREAK
HEADING
"This is the first page"
"My Report <TABPAGENO<+0> OF <TABLASTPAGE"
WHEN TABPAGENO EQ 1
HEADING
"My Report <TABPAGENO<+0> OF <TABLASTPAGE"
WHEN TABPAGENO GT 1
HEADING
"This is Page four"
WHEN TABPAGENO EQ 4
HEADING
"The Last Page"
WHEN TABPAGENO EQ TABLASTPAGE
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END
Gives the following output
This is the first page My Report 1 OF 5 COUNTRY SEATS ENGLAND 13
My Report 2 OF 5 COUNTRY SEATS FRANCE 5
My Report 3 OF 5 COUNTRY SEATS ITALY 10
My Report 4 OF 5 This is Page four COUNTRY SEATS JAPAN 8
My Report 5 OF 5 The Last Page COUNTRY SEATS W GERMANY 34
Cheers
StuThis message has been edited. Last edited by: StuBouyer,
WebFOCUS 8.2.03 (8.2.06 in testing)
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007
Would there be anyway to implement this in InfoAssist without directly accessing the code?
I could most likely get someone to insert this for me after the fact but the goal at where I'm currently working is to get everything to work by just using InfoAssist without bugging the developers (Who are the only ones with code access) to make modifications to your FEX files.
WebFocus 8.2, IA+, Windows 10, HTML
Posts: 56 | Location: UT | Registered: December 01, 2015
When I visit the link it brings me to the "Technical Support Center" but I don't see a link anywhere to open a case. Do I have to call the number to open a case?
There is a message saying "Please add a site code to your profile to see the requested content." immediately after clicking the link provided also.
Thanks.
WebFocus 8.2, IA+, Windows 10, HTML
Posts: 56 | Location: UT | Registered: December 01, 2015