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     master detail join output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
master detail join output
 Login/Join
 
<rookie>
posted
I have a master report in which I have a drill down on the transaction number, when clicked on the tran number another reports with child details for that tran number is displayed.

I need to display both master and child on the same page and also wanted to know, how do we implement the same using frames.

Thanks
 
Report This Post
<Grzegorz>
posted
HTML frame:






"Master" focexec:

-* master.fex
TABLE FILE CAR
SUM SALES
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY,
FOCEXEC=DETAIL ( CNTRY = COUNTRY ), TARGET=detail_frame,$
END[/code]"Detail" focexec:

-* detail.fex
TABLE FILE CAR
SUM SALES
BY CAR
WHERE COUNTRY EQ '&CNTRY'
END

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
<rookie>
posted
Could you please tell me where do I paste the html code provided by you, i made the changes in the master and detail fex files.

Please let me know. It will be helpfull if you could provide me full detail code or an example.

Thanks

quote:
Originally posted by Grzegorz:
[qb] HTML frame:







"Master" focexec:


-* master.fex
TABLE FILE CAR
SUM SALES
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY,
FOCEXEC=DETAIL ( CNTRY = COUNTRY ), TARGET=detail_frame,$
EN

"Detail" focexec:


* detail.fex
TABLE FILE CAR
SUM SALES
BY CAR
WHERE COUNTRY EQ '&CNTRY'
END

[/qb]

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
<Grzegorz>
posted
Some more information to run the example:

  • in your 'ibi/apps' directory create the subdirectory 'testmd'
  • create three files within this directory:
    launch.htm, master.fex, detail.fex
  • fill the files with content provided below
  • assuming you have standard webfocus installation you should be able to run the example from the browser http://your_host/approot/testmd/launch.htm



To find out more on the subject you could read the following materials:

1.HTML Introduction and HTML Frames
(They are very concise and informative, and available free of charge)

2. Chapters 8 and 9 from the "Developing Reporting Application Version 5 Release 2" manual - IBI Techsupport Link .




< !-- This is the content of the launch.htm file -->





-* The content of master.fex
TABLE FILE CAR
SUM SALES
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY,
FOCEXEC=DETAIL ( CNTRY = COUNTRY ), TARGET=detail_frame,$
END

-* The content of detail.fex
TABLE FILE CAR
SUM SALES
BY CAR
WHERE COUNTRY EQ '&CNTRY'
END

This message has been edited. Last edited by: <Mabel>,
 
Report 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     master detail join output

Copyright © 1996-2020 Information Builders