Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Creating a report using embedded Subreports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Creating a report using embedded Subreports
 Login/Join
 
Member
posted
Hello,

Is there a way to create a basic report embedding several other basic subreports? Based on the nature of the data, by using independent basics subreports would satisfy then nature of this request.

Thanks
Tony
 
Posts: 8 | Location: Orange, California | Registered: August 10, 2004Report This Post
Gold member
posted Hide Post
This may be approached in several different ways but I'm not sure exactly what you are trying to do. Can you explain further?
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
<Pietro De Santis>
posted
What format of report do you require? If it's HTML, then it's very easy. You create your "sub reports" as format HTMTABLE and then imbed them in an HTML page with !IBI.FIL.sub-report-hold-file-name;
 
Report This Post
Guru
posted Hide Post
You could also do a compound report.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Member
posted Hide Post
My apologies. If possible, I would like the report in adobe, but HTML would be just fine.

The report consists of of the following

Month To Date
Market NetSales PriorMonth %toPrior
Domestic $8000 $10000 80%

Quarter to Date
Market NetSales PriorQuarter %toPrior
Domestic $8000 $10000 80%

Year to Date
Market NetSales PriorYear %toPrior
Domestic $8000 $10000 80%


7 fields total in a cross-tab format. The subreports have already been created
 
Posts: 8 | Location: Orange, California | Registered: August 10, 2004Report This Post
Guru
posted Hide Post
The compound report tool should work fine for this type of report. But since your data looks to be the same in all three reports you could try doing a MATCH FILE or MORE.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Member
posted Hide Post
Thank you all very much. Let me give it a try.
 
Posts: 8 | Location: Orange, California | Registered: August 10, 2004Report This Post
Platinum Member
posted Hide Post
Hi,

I have a similar issue with subreports. I have a report that has a detail portion and a grand total. On the original report (crystal), 1 field on the grand totals is a subreport (data from a completely different table). How do I do this in WebFOCUS.

Here's a sample code:
TABLE FILE CAR
PRINT
COUNTRY
CAR
DEALER_COST
RETAIL_COST
WHERE COUNTRY EQ 'ENGLAND';
ON TABLE SUMMARIZE AS 'TOTAL'
END

I would like to get the data for the grand total row for retail_cost(45,319) from another table (value for example could be 45,333). The dealer_cost grand total stays as it is. How do I do it? Do a use an Amper Var?

Thanks.

This message has been edited. Last edited by: dballest,


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
Expert
posted Hide Post
You could use an amper variable but you'd probably have to put the other file total in a subfoot, not the automatically generated total line. Then use the stylesheet to line them up properly.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Platinum Member
posted Hide Post
Thanks for the reply Ginny. Looks like there would be extra work on the alignment part. I give it a try.


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Creating a report using embedded Subreports

Copyright © 1996-2020 Information Builders