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     [CLOSED] Page numbers on Compounding No Break pdf reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Page numbers on Compounding No Break pdf reports
 Login/Join
 
Gold member
posted
Hi,

I have code something like below. On the pdf report, when report1 starts it shows page number and when report 2 starts it shows page number as 1 again on PDF first page itself as per the below logic.
But what I want is, I don't want to repeat it on the same page, I want to show page number only once on each page. Can anybody know the solution?

I have to use this command for requirement as well.
ON TABLE SET PAGE NOLEAD

----------code starts--------

SET PAGE = OFF
SET COMPOUND = OPEN NOBREAK
-RUN
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY
HEADING
"REPORT 1 ... PAGEON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END
-RUN
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY
HEADING
"REPORT 2 ... PAGEON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END
-RUN
SET COMPOUND = CLOSE
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY
HEADING
"REPORT 3 ... PAGEON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER',
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END

Thanks
Sandhya

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 53 | Registered: December 06, 2011Report This Post
Expert
posted Hide Post
Checkout the usage of / Search on TABLASTPAGE. There are many posts on the subject. Or narrow your search to compound tablastpage.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
Firstly, when posting code, please make sure that you use the code insert tags . That way we can see your full code posting without having to jump through hoops to help you Smiler

For everyone, this is the code that you posted -
SET PAGE = OFF
SET COMPOUND = OPEN NOBREAK
-RUN
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY 
HEADING
"REPORT 1 ... PAGE<TABPAGENO"
ON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER', 
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END
-RUN
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY 
HEADING
"REPORT 2 ... PAGE<TABPAGENO"
ON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER', 
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END
-RUN
SET COMPOUND = CLOSE
TABLE FILE CAR BY CAR BY MODEL SKIP-LINE BY MPG BY DCOST BY RCOST BY RPM BY COUNTRY 
HEADING
"REPORT 3 ... PAGE<TABPAGENO"
ON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE, UNITS=IN, PAGESIZE='LETTER', 
LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.1, BOTTOMMARGIN=0.1,$
ENDSTYLE
END

Because you have nobreak within each report and have also coded <TABPAGENO in each heading section you will receive three page numbers for each run of this report.

Now, what do you want to have? If I read your post "as is", my first thought is that you only require the last report to include <TABPAGENO in the heading. But, imho, that would then not look so good, so please elaborate for us so that we can see exactly what you want.

I would also ask why you're persisting with the older style compound syntax and not the latest available to you? Is it that you are into coding in that manner for quite a while? If so then please allow me to recommend learning the newer syntax, it gives you greater control over you output layout and can provide more presentable outputs.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Hi Tony,

Thank You for you reply.

In all 3 page numbers I want to show only first one, I don't want to show the others.

You are mentioning about newer type of coding, can you please give me sample on CAR, I like to know the doing it in different way.
I have to finish this thing in 2 more days.

Thank You
Sanhdya


WEBFOCUS 8202/Windows
PDF/HTML/XML
 
Posts: 53 | Registered: December 06, 2011Report 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     [CLOSED] Page numbers on Compounding No Break pdf reports

Copyright © 1996-2020 Information Builders