Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Report Layout
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Report Layout
 Login/Join
 
Member
posted
Hi ALL,

My report have a page header also which required to print on every page, below the page header i want to print something which required to print on first page only, do not want to print on 2nd page onwards. I tried print the things using report header, it print on first only correctly but it will move to above the page header, i think it is due to webfocus always let report header locate above the page header.
Any idea that i can print the things below the page header and on first page only?

For example:
1st page:
Header A
Header B
SubItem 1
SubItem 2
SubItem 3
SubItem ...

2nd page:
Header A

SubItem 4
SubItem 5
SubItem 6
SubItem ...

All are text content.

Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8.2.0.1
Windows 7
 
Posts: 13 | Registered: June 09, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Hi Welcome to the Forum.

If you will do a search on this topic, you will find many posts.

Try Subhead

ON TABLE SUBHEAD
"Heading on the first page"
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Will not work Prarie.
What KingKong wants is to have more header rows on first page than other ones where additional heading rows are display below "normal" header' rows.

Such as :

Page 1
First line of header
Second line of header
Third line of header
Fourth line of header

Page 2
First line of header
Second line of header

Page 3
First line of header
Second line of header

Using the SUBHEAD it result in :

Page 1
First line of header
Second line of header
Third line of header
Fourth line of header

Page 2
Third line of header
Fourth line of header

Page 3
Third line of header
Fourth line of header

To perform this, you need to do the page skip "manually".


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2191 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Guru
posted Hide Post
Have you tried using Pagecount and then using the WHEN feature with SUBHEAD? There are examples if you do a search.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
This can be one way but may not work with all output format
Determine how may data rows can be printed (or you want) on first page.

-SET &NBROWPG1 = 3;

TABLE FILE GGSALES
SUM DOLLARS
    COMPUTE ROWID /I4 = ROWID + 1;
BY REGION
BY PRODUCT
BY CATEGORY
ON TABLE HOLD AS EXTDATA
END
-RUN

TABLE FILE EXTDATA
SUM DOLLARS
BY REGION
BY PRODUCT
BY CATEGORY
WHERE ROWID LE &NBROWPG1;
ON TABLE HOLD AS PGE1DATA
END
-RUN

TABLE FILE EXTDATA
SUM DOLLARS
BY REGION
BY PRODUCT
BY CATEGORY
WHERE ROWID GT &NBROWPG1;
ON TABLE HOLD AS OTHPGEDATA
END
-RUN

TABLE FILE PGE1DATA
SUM DOLLARS
BY REGION
BY PRODUCT
BY CATEGORY

HEADING
"Header all report"
"Header page 1"

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF OPEN
ON TABLE NOTOTAL
ON TABLE SET BYDISPLAY ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
     UNITS=IN,
     LEFTMARGIN=0.50000,
     RIGHTMARGIN=0.50000,
     TOPMARGIN=0.50000,
     BOTTOMMARGIN=0.50000,
     SQUEEZE=ON,
     PAGESIZE='Letter',
     ORIENTATION=LANDSCAPE,
$
ENDSTYLE
END
-RUN

TABLE FILE OTHPGEDATA
SUM DOLLARS
BY REGION
BY PRODUCT
BY CATEGORY

HEADING
"Header all report"

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF CLOSE
ON TABLE NOTOTAL
ON TABLE SET BYDISPLAY ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
     UNITS=IN,
     LEFTMARGIN=0.50000,
     RIGHTMARGIN=0.50000,
     TOPMARGIN=0.50000,
     BOTTOMMARGIN=0.50000,
     SQUEEZE=ON,
     PAGESIZE='Letter',
     ORIENTATION=LANDSCAPE,
$
ENDSTYLE
END
-RUN


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2191 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
I think this could easily be done with a combination of HEADING and ON TABLE SUBHEAD.

What is the content of the headers ?

Can you give an example ?

Is it text, fields, page numbers ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6124 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
quote:
Originally posted by Waz:
I think this could easily be done with a combination of HEADING and ON TABLE SUBHEAD.

What is the content of the headers ?

Can you give an example ?

Is it text, fields, page numbers ?



Thanks, Waz, i updated it with example.


WebFocus 8.2.0.1
Windows 7
 
Posts: 13 | Registered: June 09, 2017Reply With QuoteReport This Post
Expert
posted Hide Post
I should read the post more carefully, didn't notice that the header change was below the first line.

I think Martin is right, you will need to know when the first page finishes to determine when to remove the unwanted header info.


What format is the report ? HTML, PDF, Excel ??


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6124 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Report Layout

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.