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     Problam with PDF-Fold

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problam with PDF-Fold
 Login/Join
 
Member
posted
Hi,

I'm running WebFOCUS 5.2
Here is the report I have:

Column1 Column2 Column3 Column4 Column5 Column6

Here is the report I would like to have:

Column1 Column2 Column3 Column4
Column5 Column6

the problam is this that i am getting the information abt column as a input and the number of column i want to display is not fixed.so i am not able to use over. as i dont know how many column will come as input.i have to consider that when the list of column is going to second page wrap it.

Is there any method for this, can we use over when we have dynamic list of column.
 
Posts: 4 | Registered: February 07, 2006Report This Post
<JG>
posted
Look at the following as the basis for what

-SET &LINELENGTH=50;
TABLE FILE CAR
PRINT COUNTRY CAR MODEL DEALER_COST RETAIL_COST SEATS
ON TABLE HOLD AS COLS
END
-RUN
CHECK FILE COLS HOLD
-RUN
TABLE FILE HOLD
SUM MAX.FLDNO
ON TABLE SAVE
END
-RUN
-READ SAVE &FLDS.A4.
-RUN
TABLE FILE HOLD
PRINT
COMPUTE COUNTER/I9 = COUNTER +1; NOPRINT
COMPUTE LINELEN/I9 = IF LAST LINELEN + FLEN +2 GE &LINELENGTH THEN FLEN +2 ELSE LAST LINELEN + FLEN +2; NOPRINT
COMPUTE ISOVER/A80 = IF FLDNO EQ &FLDS THEN FIELDNAME | ' AS ' | '''' | ''''
ELSE
IF LAST LINELEN LE LINELEN THEN FIELDNAME | ' AS ' | '''' | ''''
ELSE FIELDNAME | ' AS ' | '''' | '''' | ' OVER';

ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SAVE AS 'INCFILE'
END
-RUN
TABLE FILE CAR
PRINT
-INCLUDE INCFILE
END
 
Report This Post
Gold member
posted Hide Post
Have you considered using a SUBHEAD ?


WF 7.1.6 moving to WF 7.7, Solaris 10, HTML,PDF,XL
 
Posts: 83 | Location: Dartmouth Hitchcock Medical Center | Registered: April 17, 2003Report 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     Problam with PDF-Fold

Copyright © 1996-2020 Information Builders