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.
Why when I have compounded pages of different reports some of the pages look like if the text is shifted slightly down. For example:
If I have a table with 2 rows and 2 columns, the text is supposed to appear in the cell... but sometime i see the text in the cell, but practically sitting on the cell's bottom line.
Does this make sense? Why does this happen? Is there someway to fix/prevent this from happening?
Okay, this didn't quite do what was happening to me (since my r eports are approx. 50 pages long and it happens randomly). BUT you can see that the words look like they are higher in the cell than in the following tables (when you run it), than in the first table. It looks as if the data/words are shifted and the table stays in the same area.
The ouput is like the table top line and then the word starting practically on the line. Let me know what you think. Thank you DEFINE FILE CAR NUM/A50=IF SEATS EQ 4 THEN CAR; NUM2/A50=IF SEATS EQ 2 THEN CAR; CONCAT/A101=NUM || ( ' ' | NUM2 );
COMPARE/A50=IF NUM EQ NUM2 THEN BODYTYPE ELSE ' '; END TABLE FILE CAR HEADING "Car Report" "As of &DATEtMDYY <+0>" "4 Seater vs 2 Seater" PRINT NUM AS '4 SEATER' NUM2 AS '2 SEATER' BODYTYPE AS 'BODY'
BY CAR AS 'CAR' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE UNITS=IN,
PAGESIZE='SCREEN', LEFTMARGIN=0.15,
RIGHTMARGIN=0.15,
TOPMARGIN=0.10,
BOTTOMMARGIN=0.10,
SQUEEZE=ON, O RIENTATION=PORTRAIT, $ TYPE=REPORT,GRID=ON,FONT='ARIAL', SIZE=10, COLOR='BLACK',BACKCOLOR='NONE',STYLE= NORMAL,RIGHTGAP=0.125000,TOPGAP=0.013889, BOTTOMGAP=0.027778,$ STYLE=NORMAL,$ TYPE=HEADING,LINE=1,GRID=OFF,SIZE=20, STYLE=NORMAL,JUSTIFY=CENTER,$ TYPE=HEADING,LINE=2,GRID=OFF, SIZE=14,STYLE=NORMAL,JUSTIFY= CENTER,$ TYPE=HEADING,LINE=4,GRID=OFF, SIZE=16,STYLE=NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ ENDSTYLE END TABLE FILE CAR PRINT COUNTRY CAR MODEL
DEALER_COST
RETAIL_COST WHERE ( COUNTRY EQ 'USA' ) ON TABLE HOLD AS CAR1 END -TYPE LINE = &LINES -TYPE RECORDS= &RECORDS
-IF &LINES EQ 0 THEN GOTO OUT_NO ELSE GOTO OUT_YES;
-OUT_YES TABLE FILE CAR HEADING "USA Manufactured Cars" PRINT MODEL AS 'Model RETAIL_COST AS 'Retail Cost'' DEALER_COST AS 'Dealer Cost BY CAR AS 'Car' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTA ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE UNITS=IN,PAGESIZE='SCREEN', LEFTMARGIN=0.15, RIGHTMARGIN=0.15,TOPMARGIN=0.10, BOTTOMMARGIN=0.10,SQUEEZE=ON, ORIENTATION=PORTRAIT,$ TYPE=REPORT,GRID=ON,FONT='ARIAL', SIZE=10,COLOR='BLACK', BACKCOLOR='NONE',STYLE=NORMAL, RIGHTGAP=0.125000,TOPGAP=0.013889, BOTTOMGAP=0.027778,$ TYPE=HEADING,GRID=OFF,SIZE=16, STYLE=NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ ENDSTYLE END
-OUT_NO DEFINE FILE CAR OUT_FIELD/A2000 WITH CAR = 'Not Applicable'; END TABLE FILE CAR HEADING USA Manufactured Cars" PRINT OUT_FIELD AS ' ' WHERE RECORDLIMIT EQ 1 ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE UNITS=IN,PAGESIZE='SCREEN', LEFTMARGIN=0.15, RIGHTMARGIN=0.15, TOPMARGIN=0.10, BOTTOMMARGIN=0.10, SQUEEZE=ON,
ORIENTATION=PORTRAIT, TYPE=REPORT,GRID=OFF,FONT='ARIAL', SIZE=10,COLOR='BLACK',BACKCOLOR=' NONE',STYLE=NORMAL,RIGHTGAP=0.125000, TOPGAP=0.013889,BOTTOMGAP=0.027778,$ TYPE=HEADING,GRID=OFF,SIZE=16,STYLE= NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ >ENDSTYLE END TABLE FILE CAR PRINT COUNTRY CAR MODEL DEALER_COST RETAIL_COST WHERE ( COUNTRY EQ 'JAPAN' ); ON TABLE HOLD AS CAR2 END
-TYPE LINE = &LINES TYPE RECORDS= &RECORDS IF &LINES EQ 0 THEN GOTO NO_JAPAN ELSE GOTO OUT_JAPAN; -OUT_JAPAN TABLE FILE CAR HEADING "Japan Manufactured Cars" " " PRINT MODEL AS 'Model' RETAIL_COST AS 'Retail Cost'' DEALER_COST AS 'Dealer Cost' BY CAR AS 'Car' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN,PAGESIZE='SCREEN', LEFTMARGIN=0.15,RIGHTMARGIN=0.15, TOPMARGIN=0.10,BOTTOMMARGIN=0.10, SQUEEZE=ON,ORIENTATION=PORTRAIT,$ TYPE=REPORT,GRID=ON,FONT='ARIAL', SIZE=10,COLOR='BLACK',BACKCOLOR='NONE', STYLE=NORMAL,RIGHTGAP=0.125000, TOPGAP=0.013889,BOTTOMGAP=0.027778, />TYPE=HEADING,GRID=OFF,SIZE=16, STYLE=NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ ENDSTYLE END -NO_JAPAN DEFINE FILE CAR OUT_FIELD/A2000 WITH CAR = 'Not Applicable'; END TABLE FILE CAR HEADING "Japan Manufactured Cars " PRINT OUT_FIELD AS WHERE RECORDLIMIT EQ 1 ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF NOBREAK >ON TABLE SET HTMLCSS ON ON TABLE SET STYLE UNITS=IN, PAGESIZE='SCREEN', LEFTMARGIN=0.15, RIGHTMARGIN=0.15, TOPMARGIN=0.10, BOTTOMMARGIN=0.10, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ SIZE=10,COLOR='BLACK',BACKCOLOR='NONE', STYLE=NORMAL,RIGHTGAP=0.125000,TOPGAP =0.013889,BOTTOMGAP=0.027778,$ NORMAL,$ ENDSTYLE
TABLE FILE CAR PRINT
COUNTRY CAR
MODEL DEALER_COST RETAIL_COST WHERE ( COUNTRY EQ 'GERMANY' ); ON TABLE HOLD AS CAR2 END
-TYPE LINE = &LINES -TYPE RECORDS= &RECORDS -IF &LINES EQ 0 THEN GOTO NO_GER ELSE GOTO OUT_GER; -OUT_GER
TABLE FILE CAR HEADING
German Manufactured Cars" PRINT MODEL AS 'Model' RETAIL_COST AS 'Retail Cost'' DEALER_COST AS 'Dealer Cost' BY CAR AS 'Car' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN,PAGESIZE='SCREEN', LEFTMARGIN=0.15,RIGHTMARGIN=0.15, TOPMARGIN=0.10,BOTTOMMARGIN=0.10, SQUEEZE=ON,ORIENTATION=PORTRAIT,$ TYPE=REPORT,GRID=ON,FONT='ARIAL', SIZE=10,COLOR='BLACK',BACKCOLOR='NONE', STYLE=NORMAL,RIGHTGAP=0.125000,TOPGAP= 0.013889,BOTTOMGAP=0.027778,$ TYPE=HEADING,GRID=OFF,SIZE=16, STYLE=NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ ENDSTYLE END -NO_GER DEFINE FILE CAR OUT_FIELD/A2000 WITH CAR = 'Not Applicable'; END ABLE FILE CAR HEADING German Manufactured Cars" PRINT OUT_FIELD AS ' ' WHERE RECORDLIMIT EQ 1 ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF NOBREAK
ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, PAGESIZE='SCREEN', LEFTMARGIN=0.15, RIGHTMARGIN=0.15, TOPMARGIN=0.10, BOTTOMMARGIN=0.10 SQUEEZE=ON, ORIENTATION=PORTRAIT, TYPE=REPORT,GRID=OFF,FONT='ARIAL', SIZE=10,COLOR='BLACK',BACKCOLOR='NONE', STYLE=NORMAL,RIGHTGAP=0.125000,TOPGAP= 0.013889,BOTTOMGAP=0.027778,$ TYPE=HEADING,GRID=OFF,SIZE=16, STYLE= NORMAL,$ TYPE=TITLE,STYLE= BOLD,SIZE=12,$ ENDSTYLE END
TABLE FILE CAR HEADING "Car Information" PRINT MODEL AS 'MODEL' RPM AS 'RPM'
BHP AS 'BHP' FUEL_CAP AS 'Fuel Cap' MPG AS 'Miles Per Gallon'
ACCEL AS 'Accelerator' BY CAR AS 'CAR' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN,PAGESIZE='SCREEN', LEFTMARGIN=0.15,RIGHTMARGIN=0.15, TOPMARGIN=0.10,BOTTOMMARGIN=0.10 =ON,ORIENTATION=PORTRAIT,$ TYPE=REPORT,GRID=ON,FONT='ARIAL', SIZE=10,COLOR='BLACK',BACKCOLOR=' NONE',STYLE=NORMAL,RIGHTGAP=0.125000, TOPGAP=0.013889,BOTTOMGAP=0.027778,$ TYPE=HEADING,GRID=OFF,SIZE=16, STYLE=NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ENDSTYLE END TABLE FILE CAR "ADDITIONAL CAR INFORMATION/>PRINT LENGTH WIDTH HEIGHT
WEIGHT WHEELBASE BY CAR AS 'CAR' WHERE (LENGTH GT 180); ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN,PAGESIZE='SCREEN',LEFTMARGIN .150000,RIGHTMARGIN=0.150000,TOPMARGIN=0.100000,BOTTOMMARGIN= 0.100000,SQUEEZE=ON,ORIENTATION= PORTRAIT,$ TYPE=REPORT,GRID=ON,FONT= 'ARIAL',SIZE=9,COLOR='BLACK',BACKCOLOR= 'NONE',STYLE=NORMAL,RIGHTGAP=0.125000, TOPGAP=0.013889,BOTTOMGAP=0.027778,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,$ TYPE=HEADING,SIZE=16,STYLE=NORMAL,GRID=OFF,$ ENDSTYLE END
TABLE FILE CAR PRINT CAR DEALER_COST RETAIL_COST SALES WARRANTY STANDARD WHERE (DEALER_COST GT 10000 ); ON TABLE HOLD AS CAR1 END
-TYPE LINE = &LINES -TYPE RECORDS= &RECORDS
-IF &LINES EQ 0 THEN GOTO OUT_NONE ELSE GOTO OUT_CARS;
-OUT_CARS TABLE FILE CAR HEADING "Cost Information" "Where Dealer Cost is Greater Than 40,000" " " PRINT DEALER_COST AS 'DEALER,COST' RETAIL_COST AS 'RETAIL,COST' SALES AS 'SALES' WARRANTY AS 'WARRANTY' STANDARD AS 'STANDARD' BY CAR AS 'CAR' WHERE ( DEALER_COST GT 10000 ); ON TABLE SET NODATA ' ' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE UNITS=IN,PAGESIZE='SCREEN', LEFTMARGIN=0.15,RIGHTMARGIN=0.0,TOPMARGIN= 0.10,BOTTOMMARGIN=0.10, SQUEEZE=ON,ORIENTATION=PORTRAIT,WRAP=1,$ TYPE=REPORT,GRID=ON,FONT='ARIAL',SIZE=10,COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL,$ TYPE=HEADING,GRID=OFF,SIZE=16,STYLE=NORMAL,$ TYPE=TITLE,STYLE=BOLD,SIZE=12,JUSTIFY=CENTER,$ ENDSTYLE END -GOTO END_CAR ;
-OUT_NONE DEFINE FILE CAR OUT_FIELD/A2000 WITH CAR = 'Not Applicable'; END TABLE FILE CAR HEADING "Cost Information" "Where Dealer Cost is Greater Than 40,000" " " PRINT OUT_FIELD AS ' ' WHERE RECORDLIMIT EQ 1 ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, PAGESIZE='SCREEN', LEFTMARGIN=0.15, RIGHTMARGIN=0.15, TOPMARGIN=0.10, BOTTOMMARGIN=0.10, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF,FONT='ARIAL',SIZE=10, COLOR='BLACK',BACKCOLOR='NONE',STYLE= NORMAL,RIGHTGAP=0.125000,TOPGAP=0.013889, BOTTOMGAP=0.027778,$ TYPE=HEADING,GRID=OFF,SIZE=16,STYLE= NORMAL,$ TYPE=TITLE,STYLE=BOLD, SIZE=12,$ ENDSTYLE END -END_CARThis message has been edited. Last edited by: <Mabel>,
slfmr, I was able to get the data to be at the bottom of the cell. I did it by removing the NOBREAK which I'm guessing you want in there to make the report smaller. I will take a look at it again later to see if I can find something else that can help you.
Posts: 406 | Location: Canada | Registered: May 31, 2004
Correct, if you don't compound the report, and each individual report starts on a new page, then the tables look fine... it's when they are compounded. Sometime the data might even run on top of each other in extreme cases as well as run of the page and disappear.
In turn if a lot of this happens then we get that pdf corrupted error which is not fun to deal with... which I also have a question out there about.