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 is it that the following query will add a backcolor to the rowtotal?
TABLE FILE GGSALES SUM UNITS BY CATEGORY BY PRODUCT ACROSS REGION ROW-TOTAL ON TABLE SET STYLE * TYPE=ACROSSVALUE, BACKCOLOR=SILVER,$ ENDSTYLE ON TABLE PCHOLD FORMAT EXL2K END
...but this one which essentially does the same thing, does not?
TABLE FILE GGSALES SUM UNITS BY CATEGORY BY PRODUCT ACROSS REGION COMPUTE ROW_TOT/I10 = C1 + C2 + C3 + C4 ; ON TABLE SET STYLE * TYPE=ACROSSVALUE, BACKCOLOR=SILVER,$ ENDSTYLE ON TABLE PCHOLD FORMAT EXL2K END
Is there a way to ensure that any COMPUTEd fields after the ACROSS can be styled in EXL2K?
Have you tried Column options in your styling. It is tricky to figure the number I've decided, but might work. Here is a fex I've used: SET ALL=ON JOIN CLEAR * JOIN STU_ID IN RTRTTBL_UNO_PROD TO STU_ID IN AARTTBL_UNO_PROD AS J1 TABLE FILE RTRTTBL_UNO_PROD HEADING "QUICK VET COUNT" " AA026 EQ '30' OR '06' OR '35' OR '31' " "&DATE" " " SUM CNT.STU_ID AS 'VET CODE,COUNT' BY AA026 BY AA025 ACROSS RT090 AS 'ENR STATUS' IF AA026 EQ '30' OR '06' OR '35' OR '31' IF TERM_CYT EQ '&5POS_TERM' ON TABLE SUMMARIZE ON TABLE RECAP TRUECOUNT/I9 = C4; ON TABLE SUBFOOT
" " "ENR OF 'N' MEANS NO LONGER ENROLLED IN TERM" " " ON TABLE COLUMN-TOTAL ROW-TOTAL ON TABLE SET STYLE * TYPE = REPORT, FONT = COURIER, SIZE=12,$ TYPE = HEADING, BACKCOLOR = WHITE, $ TYPE = TABFOOTING, LINE = 2 ,BACKCOLOR = RED,$ TYPE = ACROSSVALUE, COLUMN = 6, BACKCOLOR = RED,$ TYPE = DATA, COLUMN = 6, BACKCOLOR = RED,$ TYPE = GRANDTOTAL, COLUMN = 6 ,BACKCOLOR = RED,$ END
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Using COLUMNS did not help me in this instance. I'm not experiencing any problems in highlighting or backcoloring the data, it's just in the column title.
How about using the technique I posted yesterday regarding COMPUTEs and ACROSS: COmpute the fields before the ACROSS and then use SEQUENCE to position them after... In that way, you may then be able to style them like you want to...
This works fine for HTML but it's not doing the trick for me in EXL2K. It could be because I'm still working on 5.2.6. The styling is there, it just doesn't sequence the computed field after the across values.
Forgive me if I'm teaching you how to suck eggs, but there may be other, less informed audience watching.
When holding to EXL2K the output is actually held as HTML with xml tags, as Excel 2000 is XML compliant, and also includes style tags.
The output from the fex above creates three standard style paragraphs, one for left aligned "normal" data (x1100), one for right aligned "normal" data (x1100r) and the final one for the AcrossValue (x1101).
When the table data tags (<TD> are written to the output the Computed field (ROW_TOT) appears to have a class of x10!
To me this appears to be a possible bug - although with the content from other threads at the moment maybe we ought to ask "is this documented syntax?".
My approach would be to raise a case with IB and get them to sort it out.
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Do you need assistance on opening a case with IB Technical Support Help Desk? You can either call Technical Support Help Desk at 1-800-736-6130, or access the online system InfoResponse at http://techsupport.informationbuilders.com .
Let me know if you need additional info. Hope this helps.
Cheers,
Kerry
Posts: 1948 | Location: New York | Registered: November 16, 2004
I've opened my fair share of cases over the past several years. I was hoping someone in here would have been able to help me since I'm finished up with my current position at the end of the week - and this problem is relevant right here right now.
It is highly unlikely I'll have time to put to this effort for the remainder of the week because of other items I'm trying to address before I leave. I will have one of my associates here open a case to see if they can resolve.