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 have to display a value in the subfoot of every subtotal. Hence I am using ON X SUBFOOT "Also, in order to have a grand total, I am also using ON TABLE COLUMN-TOTAL AS 'Total' The values in V_ABC is getting displayed in the subfoot of every subtotal. However, in case of grand total, the value is coming after a gap of 1 line. I want to avoid this gap and display the values for the grand total just as for the rest of the subtotals.
Sample output which I am getting: A Total A V_ABC1 B Total B V_ABC2 Total AB
V_ABCX
As shown above, the last value of V_ABC, i.e. V_ABCX is being displayed after leaving a gap of 1 line after the grand total - Total AB. Please suggest a workaround to avoid this gap.
Regards Syed
Using WF 7.1.7/Dev Studio
Posts: 189 | Location: Boston, MA | Registered: July 12, 2005
First things first, it would help us to help you if you could add your version and platform to your signature. That way we know to what platform etc. the question relates.
Secondly, with this sort of question it sometimes helps you if you try to recreate your problem using one of the sample databases supplied with the installation - in this instance I would use GGSALES rather than CAR.
So, in an attempt to recreate your problem I wrote -
TABLE FILE GGSALES
SUM DOLLARS
BY REGION
BY ST
BY PRODUCT
ON ST SUBFOOT
"Total for State <ST : <SUM.DOLLARS"
ON TABLE COLUMN-TOTAL AS 'Grand Total'
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE SET LINES 99999
END
-RUN
but I do not get a blank line between the last SUBFOOT and the Grand Total.
Try to use the code as a basis to reproduce your problem so that we may assist you more.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Hi Tony, Thanks for your suggestion. I will include the details in my signature. For now, I am using WebFOCUS 7.1.4 and DB2 tables as the backend. FYI I am using a recompute for getting the subtotals and a column-total for getting the grand total. So the recomputed fields occur before the subfoot. Eg. A Total A - (Recompute) V_ABC1 - (Subfoot)
Similarly, for column-total, the total comes first and then the last subfoot value. Eg. Total AB - (Column-total)
V_ABCX - (Subfoot)
As shown above, there exists a blank line between the column-total row and the last subfoot row. Let me know if you have any other queries regarding this.
Using WF 7.1.7/Dev Studio
Posts: 189 | Location: Boston, MA | Registered: July 12, 2005
As I suggested above, try and reproduce your problem using GGSALES. That way we can run your code and see if we can notice where you might make a change to remove your problem. Without so much as a sniff at what you are coding we have no chance to assist you.
So, come up with that example.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004