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] PAGEMATRIX IN HTML FORMAT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] PAGEMATRIX IN HTML FORMAT
 Login/Join
 
Gold member
posted
quote:
Originally posted by Deepu:
Hi

I have a pagematrix code in pdf like this
i'm getting output correct only

can any one help me how to do pagematrix in HTML

and one more in pdf output i'm getting output format lable like this

1Lab 6Lab 11Lab
2Lab 7Lab 12Lab
3Lab 8Lab 13Lab
4Lab 9Lab
5Lab 10Lab

i want output report format label like this
1Lab 2Lab 3Lab
4Lab 5Lab 6Lab
7Lab 8Lab 9Lab
10Lab 11Lab 12Lab
13Lab
SET ONLINE-FMT = PDF
TABLE FILE EMPLOYEE
BY LAST_NAME NOPRINT BY FIRST_NAME NOPRINT
ON FIRST_NAME PAGE-BREAK
HEADING
"<FIRST_NAME <LAST_NAME"
"<ADDRESS_LN1"
"<ADDRESS_LN2"
"<ADDRESS_LN3"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE=LETTER, LEFTMARGIN=0.256, TOPMARGIN=0.5,
PAGEMATRIX=(3 5), ELEMENT=(2.3 1), GUTTER=(0.188 0), $
ENDSTYLE
END
  

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Expert
posted Hide Post
Please post your code between the code tags.


I would suggest creating a key to force the sort to the way you want it.


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
Gold member
posted Hide Post
Hi,

For PDF label order, try adding MATRIXORDER=HORIZONTAL in stylesheet (VERTICAL is the default).

As Waz said, for HTML pagematrix you might need to create sortfield(s) to make the report appear the way you want.

Cheers,
Mika


WebFOCUS 7.6.x
PMF 5.2.x
 
Posts: 58 | Location: Sydney, Australia | Registered: April 22, 2005Report This Post
Virtuoso
posted Hide Post
Here is an old solution. It still works.

For row labels:
  
-SET &COL=3;
TABLE FILE CAR
LIST MPG
ON TABLE HOLD
END
-RUN
DEFINE FILE HOLD
RR/I5=(LIST - 1) / &COL;
CC/I5=LIST - 1 - RR*&COL;
END
TABLE FILE HOLD
SUM MPG
BY RR NOPRINT
ACROSS CC NOPRINT
END


For column labels:
TABLE FILE CAR
LIST MPG
ON TABLE HOLD
END
-RUN
-SET &NN=&LINES;
-SET &COL=3;
-SET &ROW=&NN / &COL;

DEFINE FILE HOLD
CC/I5=(LIST - 1) / &ROW;
RR/I5=LIST - 1 - CC*&ROW;
END
TABLE FILE HOLD
SUM MPG
BY RR NOPRINT
ACROSS CC NOPRINT
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Waz:
Please post your code between the code tags.


I would suggest creating a key to force the sort to the way you want it.


  

SET ONLINE-FMT = PDF
TABLE FILE EMPLOYEE
BY LAST_NAME NOPRINT BY FIRST_NAME NOPRINT
ON FIRST_NAME PAGE-BREAK
HEADING
"<FIRST_NAME <LAST_NAME"
"<ADDRESS_LN1"
"<ADDRESS_LN2"
"<ADDRESS_LN3"
-*ON TABLE SET PAGE-NUM NOPAGE
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE=LETTER, LEFTMARGIN=0.256, TOPMARGIN=0.5,
PAGEMATRIX=(3 5), ELEMENT=(2.3 1), GUTTER=(0.188 0), $
ENDSTYLE
END


Like this i want to genrate output in HTML Format 


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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 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] PAGEMATRIX IN HTML FORMAT

Copyright © 1996-2020 Information Builders