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] Page heading Display the parameter only on the first page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Page heading Display the parameter only on the first page
 Login/Join
 
Member
posted
In report Painter, I have selected the page heading to display the heading of the report and the parameters. The report title (USA Cars) should display on all the pages and the parameters should only display on the first page. I have used report heading for the parameters, but the parameters are displayed before the title of the report which is not working for me. Can anyone help?


TABLE FILE CAR
PRINT
'CAR.BODY.BODYTYPE'
'CAR.SPECS.WIDTH'
'CAR.SPECS.MPG'
HEADING
" "
"USA Cars"
" "
"BodyTye: &BODYTYPE"
" "
FOOTING
""
WHERE CAR.BODY.BODYTYPE EQ &BODYTYPE.(OR(FIND BODYTYPE,CAR.BODY.BODYTYPE IN car)).Body Type.;
ON TABLE SET PAGE-NUM OFF

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


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report This Post
Virtuoso
posted Hide Post
There isn't any "built-in" syntax to get what you need. Heading ONLY displays EVERYTHING in the HEADING section at the top of EVERY page.
You may want to try putting the parameters into a SUBHEAD and see if that works like you need.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
I have tried using SUBHEAD, this will display the parameters on top before the report heading or title. Is there any other way to have the parameters only on the first page.


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report This Post
Gold member
posted Hide Post
I think the answers on this post cover what you wish to do

Conditional Report Header


WF: 8201, OS: Windows, Output: HTML, PDF, Excel
 
Posts: 78 | Registered: November 08, 2010Report This Post
Expert
posted Hide Post
A bit "sledge hammer and nut" job, but it works -

-SET &Parm1 = 'Parameter 1';
-SET &Parm2 = 'Parameter 2';
TABLE FILE CAR
  SUM RCOST   AS 'Retail Cost'
      DCOST   AS 'Dealer Cost'
      COMPUTE ParmLine1/A100 = IF TABPAGENO EQ 1 THEN 'Parm 1: &Parm1.EVAL' ELSE ''; NOPRINT
      COMPUTE ParmLine2/A100 = IF TABPAGENO EQ 1 THEN 'Parm 2: &Parm2.EVAL' ELSE ''; NOPRINT
   BY COUNTRY AS 'Country' PAGE-BREAK
   BY CAR     AS 'Manufacturer'
   BY MODEL   AS 'Model'
HEADING
"Worldwide Cars"
" "
"<ParmLine1"
"<ParmLine2"
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
  GRID=OFF, SIZE=9, $
ENDSTYLE
END

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
Member
posted Hide Post
All,

I think this will work but how do I include it in the below report.
#
-IF &USEPI NE 1 GOTO SKIP_THIS;
"Proprietary Information"
-GOTO NEXT_1
-SKIP_THIS
"Report Name"
-NEXT_1
#

I need "Worldwide Cars" to print in all pages and
"World Counties: "Car Bodytype: &BODYTYPE "
" "
To print only on the first page

Thanks,

`````````````````````````````
TABLE FILE CAR
SUM
'CAR.BODY.RETAIL_COST' AS 'Retail Cost'
'CAR.BODY.DEALER_COST' AS 'Dealer Cost'
BY 'CAR.ORIGIN.COUNTRY' AS 'Country'
BY 'CAR.COMP.CAR' AS 'Manufacturer'
BY 'CAR.CARREC.MODEL' AS 'Model'

ON CAR.ORIGIN.COUNTRY PAGE-BREAK
HEADING
"Worldwide Cars"
" "
"World Counties: "Car Bodytype: &BODYTYPE "
" "
WHERE ( CAR.ORIGIN.COUNTRY EQ '&COUNTRY.(FIND COUNTRY,CAR.ORIGIN.COUNTRY IN car).World Counties.' ) AND ( CAR.BODY.BODYTYPE EQ &BODYTYPE.(OR(FIND BODYTYPE,CAR.BODY.BODYTYPE IN car)).Car Bodytype. );
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=9,
$
ENDSTYLE
END
``````````````````````````````````````


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report This Post
Member
posted Hide Post
TABLE FILE CAR
SUM
'CAR.BODY.RETAIL_COST' AS 'Retail Cost'
'CAR.BODY.DEALER_COST' AS 'Dealer Cost'
BY 'CAR.ORIGIN.COUNTRY' AS 'Country'
BY 'CAR.COMP.CAR' AS 'Manufacturer'
BY 'CAR.CARREC.MODEL' AS 'Model'

ON CAR.ORIGIN.COUNTRY PAGE-BREAK
HEADING
"Worldwide Cars"
" "
"World Counties: "Car Bodytype: &BODYTYPE "
" "
WHERE ( CAR.ORIGIN.COUNTRY EQ '&COUNTRY.(FIND COUNTRY,CAR.ORIGIN.COUNTRY IN car).World Counties.' ) AND ( CAR.BODY.BODYTYPE EQ &BODYTYPE.(OR(FIND BODYTYPE,CAR.BODY.BODYTYPE IN car)).Car Bodytype. );
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=9,
$
ENDSTYLE
END


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report This Post
Member
posted Hide Post
"Car Bodytype: &BODYTYPE "
" "
WHERE ( CAR.ORIGIN.COUNTRY EQ '&COUNTRY.(FIND COUNTRY,CAR.ORIGIN.COUNTRY IN car).World Counties.' ) AND ( CAR.BODY.BODYTYPE EQ &BODYTYPE.(OR(FIND BODYTYPE,CAR.BODY.BODYTYPE IN car)).Car Bodytype. );
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=9,
$
ENDSTYLE
END


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report 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] Page heading Display the parameter only on the first page

Copyright © 1996-2020 Information Builders