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've searched the forum and read the previous posts regarding this topic but I'm still not sure how to best fix my problem. I would like to space my subfoot across the report to line up with columns. I thought I could do this by doing the following but I don't think this works with my style sheet coding.....
SUBFOOT "Plan Information: Can anyone help me get this spaced across easily.
SUBFOOT "Plan Information: Thanks for the helpThis message has been edited. Last edited by: <Emily McAllister>,
Posts: 132 | Location: Kansas | Registered: November 12, 2003
hi, if your output format is HTML you can use STYLE commands like HEADALIGN=BODY and COLSPAN
-* In this request, HEADALIGN=BODY aligns the sort footing -* in the same HTML table as the body of the report. COLSPAN = 5 -* positions the first item in the sort footing in the fifth -* column of the HTML table. The second item in the sort footing -* = the field -* The HEADALIGN attribute is on a separate line from the COLSPAN -* attribute because it applies to the entire sort footing , whereas COLSPAN applies to the single item -* Total: TABLE FILE GGORDER PRINT ORDER_NUMBER ORDER_DATE STORE_CODE QUANTITY BY PRODUCT_CODE BY PRODUCT_DESCRIPTION WHERE ORDER_DATE EQ '01/01/96' WHERE STORE_CODE EQ 'R1019' ON PRODUCT_CODE SUBFOOT "Total: ON TABLE SET PAGE-NUM OFF ON TABLE SET ONLINE-FMT HTML ON TABLE SET STYLESHEET * TYPE = REPORT, GRID = OFF, $ TYPE = SUBFOOT, HEADALIGN = BODY, JUSTIFY = RIGHT, STYLE = BOLD, $ TYPE = SUBFOOT, OBJECT = TEXT, COLSPAN = 5, $ ENDSTYLE END
but then all I get is this ..... No Report as for the HTML.... I have no idea how to do that ..... but I'm willing to give it a try. Thanks for the feedback...
0 NUMBER OF RECORDS IN TABLE= 31 LINES= 8 0 NUMBER OF RECORDS IN TABLE= 13 LINES= 13 0 NUMBER OF RECORDS IN TABLE= 21 LINES= 21 0 NUMBER OF RECORDS IN TABLE= 4 LINES= 4 0 NUMBER OF RECORDS IN TABLE= 4 LINES= 4
Posts: 132 | Location: Kansas | Registered: November 12, 2003
You've not shown the report request coding you are trying to 'fix'. Do you have any other options showing as holding or setting online-fmt.
I know in EXL2K output subfoots just don't seem to work for me to have subtotals. Have to use the subtotal as the subfoot under 4.3.6 anyway is stuck all in one cell of the sheet.
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
STYLEMODE=FIXED will wreck any proportional fonts you might be using.
You can assign each part you want to align in the heading to a different object by prepending a null spot marker - <+0> - and then in the stylesheet you can specify the alignment of that object.
This can all be done automatically without coding by using the alignment feature in Report Painter (align with column).
I'm in a pinch.... I don't have Report Painter and Dev Studio going yet and my users are ready to scrap this WebFocus Report because I can't get Plan information to display ACROSS the report and align with the correct columns. I've tried the above postings with no luck. Any other things I can try?
SUBFOOT "Plan Information: This message has been edited. Last edited by: <Mabel>,
Posts: 132 | Location: Kansas | Registered: November 12, 2003
Thanks Vipul.... This seems to work the best. I had tried to use spaces but I had set my original space to SPACE1/A1 = ' '. This did not work. It's looking better but aligning the subfoot with the report columns is still proving to be a challenge. Thanks for the input everyone.
Posts: 132 | Location: Kansas | Registered: November 12, 2003
Carol, That works GREAT for PDF.... Anyway to do this for HTML format ?
Using the "SPACERS" works but doesn't align the columns up in HTML like your example lines them up in PDF. My subfoot columns still do not line up with the column in some cases.
Posts: 132 | Location: Kansas | Registered: November 12, 2003
for HTML you need to put a spotmarker <+0> followed by a space to skip column. For ex : if you want to skip second column and display value in third column of the report ON SORTCOLUMN SUBFOOT "<\COL1 <\+0> <\+0><\COL2" Ignore \ in the above line. COL2 will be displayed in column 3 place.
Where as in PDF you still need to use POSITION attribute.
Sorry kj - I guess I just don't get it ...... but Thanks for the help, DEFEAT is a bitter pill to swallow..... I'm going to have to let them do this in PowerBuilder.... I just don't have enough WebFocus experience to control this and we don't have Developers Studio up and going yet.
Here is my code with the "spacers". This works up to a point..... The subfoot amounts are still not lined up with the detail amounts.
Of course I have all the defines above what I show here.
TABLE FILE REPTTOLIST SUM NAME AS 'Employee,Name' FORMATNBR AS 'Cell,Number' MONTHLY_ACCESS AS 'Monthly,Access' SP10 AS ' ' ANYTIME_MIN AS 'Anytime,Min' SP10 AS ' ' OFF_PEAK_MIN AS 'Night/Weekend,Min' SP10 AS ' ' MOBILE2MOBILE_MIN AS 'Mobile/Mobile,Min' SP10 AS ' ' ADDONS AS 'Add,Ons' SP05 AS ' ' EQUIPMENT AS 'Equipment' SP05 AS ' ' AIRTIME_CHARGES AS 'Airtime,Charges' WHERE PERIODIS NE 1 WHERE OVERAMT EQ 'Y' BY SORTFIRST NOPRINT BY NAME NOPRINT BY NUMBER NOPRINT BY FORMATNBR2 NOPRINT
SUBFOOT "Plan Information: "--------------------------------------------------------------------------------------------------------------------------------------------- " " "This message has been edited. Last edited by: <Mabel>,
Posts: 132 | Location: Kansas | Registered: November 12, 2003
Thought I'd post the final solution that IBI helped resolve.
You have to include <+0> for every column in your report layout and put a space after the spot marker. This is tricky to get set up but works great. Thanks IBI for helping and the explaination on how it all works.
here's another tip you can create blank spaces this way; -SET &FILLER = '&|nbsp;&|nbsp;&|nbsp;'; That creates a variable with 3 blank spaces the Escape character | is the key
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003