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.
I'm just pulling some test records to get a feel of the data for my report. The table I am looking at has around 50 columns. Let's say that I only want to look at a test set of 5 records. Is there a way to print this to only one page in a PDF? Something like ON TABLE NOSPLIT???
Here is the car file example I was playing with.
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
DEALER_COST
RETAIL_COST
COUNTRY
CAR
MODEL
DEALER_COST
RETAIL_COST
COUNTRY
CAR
MODEL
DEALER_COST
RETAIL_COST
COUNTRY
CAR
MODEL
DEALER_COST
RETAIL_COST
COUNTRY
CAR
MODEL
DEALER_COST
RETAIL_COST
WHERE RECORDLIMIT EQ 5
-* Is there some syntax for this?
-* ON TABLE NOSPLIT
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='LEGAL',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
GRID=ON,
FONT='ARIAL',
SIZE=6,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=TITLE,
STYLE=BOLD,
$
ENDSTYLE
END
-EXIT
1. You can make the font smaller. 2. If the titles are longer than the data, you can us AS to rename the column. 3. You could try OVER 4. You can leave it two pages and use BYPANEL to repeat the BY phrases on the second page.
I'm sure some other folks have other ideas for you as well.
Max I'm not sure why would you need that! If you want all the columns without the columns getting split-up, you might want to use HTML, or Excel formats. If you really need it in a PDF, you might want to append the columns one on top of the other. Something like:
FILEDEF TEMP_CAR DISK TEMP_CAR.FTM (APPEND -RUN
TABLE FILE CAR PRINT COUNTRY CAR MODEL DEALER_COST RETAIL_COST COUNTRY ON TABLE HOLD AS TEMP_CAR FORMAT ALPHA END
TABLE FILE CAR PRINT COUNTRY CAR MODEL DEALER_COST RETAIL_COST COUNTRY ON TABLE HOLD AS TEMP_CAR FORMAT ALPHA END
TABLE FILE CAR PRINT COUNTRY CAR MODEL DEALER_COST RETAIL_COST COUNTRY ON TABLE HOLD AS TEMP_CAR FORMAT ALPHA END
TABLE FILE TEMP_CAR PRINT * ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, PAGESIZE='LEGAL', LEFTMARGIN=0.250000, RIGHTMARGIN=0.250000, TOPMARGIN=0.250000, BOTTOMMARGIN=0.250000, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ TYPE=REPORT, GRID=ON, FONT='ARIAL', SIZE=6, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=TITLE, STYLE=BOLD, $ ENDSTYLE END
Well....in this case, you'll need to have all the corresponding columns with same datatypes (which is a pre-req for APPEND).
Hope this helps.
Rock On! Syed
Using WF 7.1.7/Dev Studio
Posts: 189 | Location: Boston, MA | Registered: July 12, 2005
Well the user wants me to modify an existing report that meets certain criteria. I'm just sampling the data to see if the reationships exist in order to meet the users criteria. My output is like eight pages so I wanted to condense it down so I could better see the relationships.
To analyze the data I basically reduced the amount of columns, decreased the font size, and used orientation landscape and paper size legal. But I wish there was a feature or setting that would allow the table to wrap on the first page and not stretch into multiple pages. Oh well, you can't always get what you want.