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     For Chirag: detail records after each summary record

Read-Only Read-Only Topic
Go
Search
Notify
Tools
For Chirag: detail records after each summary record
 Login/Join
 
Virtuoso
posted
Chirag,

When one has to show in a same report both summary and details, there are basically 3 methods:
1. A list and then SUBTOTAL
2. Use Multi-Set requests (more than one verb)
3. The famous McGuyver technique.

I suppose that the first two are familiar to you, so here is an example of McGuyver, using your outline takne from Aravind's post:

  
-* File chirag1.fex
JOIN BLANK WITH BODYTYPE IN CAR TO BLANK IN FSEQ AS B_
-*
DEFINE FILE CAR
BLANK/A1 WITH BODYTYPE=' ';
XCAR/A16=IF COUNTER EQ 1 THEN ' ' ELSE CAR;
END
-*
TABLE FILE CAR
SUM RETAIL DEALER SALES
BY COUNTRY
BY XCAR NOPRINT
WHERE COUNTER LE 2
HEADING
"Summary and Detail"
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
ENDSTYLE
END

If you need an example of the McGuyver file (called here FSEQ), search in the forum or just ask.

This message has been edited. Last edited by: Danny-SRL,


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
Daniel,
Can you please share the McGuyver file(FSEQ)?


7.6.11
Linux
Excel, HTML, PDF

 
Posts: 69 | Registered: February 15, 2008Report This Post
Virtuoso
posted Hide Post
Chirag,

See here


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
HI chirag ,

you can find the Mcgvyer technical documentation here with examples..This might be of help .

http://techsupport.informationbuilders.com/bestpractices/macgyver/toc.html


WebFOCUS 714
Windows XP
Output: HTML,PDF,Excel
 
Posts: 189 | Registered: January 30, 2008Report This Post
Gold member
posted Hide Post
I am stuck with detail headings. Let me explain again.
My report contains columns headings for the summary and then there is detail report for each field in column1. the detail report contain its own column heading which would repeat on every loop.

sumrycol1 sumrycol2 sumrycol3
abcd xxxx xxxxxxx

detailcol1 detailcol2 detailcol3
abcd yyyy yyyyyy
abcd zzzz zzzzzz

efgh llll lllllll

detailcol1 detailcol2 detailcol3
efgh mmmm mmmmm
efgh nnnn nnnnn

this is how it goes. How should i print the detailcol headings with each record of summary. I wish if i could make drilldown report. but i need output on the same report like this. Please advise.


Thanks,
Chirag


7.6.11
Linux
Excel, HTML, PDF

 
Posts: 69 | Registered: February 15, 2008Report This Post
Virtuoso
posted Hide Post
Chirag,

Show a mock-up of your report layout. Put it between CODE tags.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
PFA the output

quote:
Account Balance summary and Transaction Details
Account No Balance Today Balance Yesterday
XXXX000001 £2,400.00 £100.00

Account Transactions Detail:-
Account No Txn Ref Txn Type Value Date Txn Value
XXXX000001 XXXXXXXX ddd 12/01/2009 £300.00


And this would repeat for every account no. There may be multiple rows in the Account Transactions Details.


7.6.11
Linux
Excel, HTML, PDF

 
Posts: 69 | Registered: February 15, 2008Report This Post
Virtuoso
posted Hide Post
I suppose this is what it should look like:

  
Account Balance summary and Transaction Details 
Account No Balance Today Balance Yesterday
XXXX000001     £2,400.00           £100.00

Account Transactions Detail:- 
Account No Txn Ref  Txn Type Value Date   Txn Value
XXXX000001 XXXXXXXX ddd      12/01/2009     £300.00


The "summary" line is very different from the "detail" lines and you want the column titles to appear within the report. Do you have page-breaks or is the report continuous?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
Yes Daniel, you are right. This is how the report should look like. I was not able to put that on my post.
I need the detail heading "Account Transactions Detail:-" and Column titles to appear for each account followed by the account detail.


7.6.11
Linux
Excel, HTML, PDF

 
Posts: 69 | Registered: February 15, 2008Report This Post
Expert
posted Hide Post
Chirag,

You could put the summary information in a subheading where you can position items. The rest of it is a standard report.

Danny has given you all kinds of techniques to do this. Try playing around with a couple of them to see if they will work for you.


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
Virtuoso
posted Hide Post
Chirag,

What I can think of is using having a sortfield which differentiates between "summary" and "detail" and then use ON sortfield SUBHEAD ... WHEN


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report 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     For Chirag: detail records after each summary record

Copyright © 1996-2020 Information Builders