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.
depends on the quantity and type of data. you haven't included any of that so I can only generalize--
One way that we do this is to put all of the fields for each "master" record in a subhead with a BY on a unique field for each record. Then printing the "detail" fields pertaining to that "master" record under each record. You can also accomplish something similar with FOLD-LINE but the GUI didn't handle this very well several versions back when i was playing with it and so I never did anything with it in GUI then. We have several using this technique as well that have been hand-written. Maybe it's handled better now in the GUI.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Prarie, I did some research on compound reports, not sure if that would help me out.
Darin Lee, I tried FOLD-LINE, but that seems to only be for PDF. I also tried SUBHEAD, but I want the master record to have column headings, and be in distinct columns so it can be exported to Excel.
The data I am working with has monetary transaction records, and there could be one or more comments attached to each record, typically 2 comments at least.
So... ACCOUNTNUMBER POSTDATE AMOUNT 12345 11/26/2007 25.00 user123 11/27/2007 this is my comment user123 11/27/2007 this is another comment
When you analyze the question, this is just basic FOCUS. You have a file with a parent records (master) and child records (detail). You don't say what the data source is, but it should be irrelevant if you have properly described the data in your .mas file. Consider the following master. Now this is a flat file, but you can do the same thing with a FOCUS data base or relational tables. HREC is the Header and is identified with 'H' in column 1. DREC is the Detail and identified with 'D' in column 1. This master has the relationship you described. For every header, there can be 0 to many detail rows.
TABLE FILE FMFCEXT
PRINT CLIENT_SSN TOTAL_DAYS PAY_RATE CLAIM_AMT
BY RSRC_ID NOPRPINT
BY CHECK_SEQ NOPRINT NOSPLIT
ON CHECK_SEQ SUBHEAD
"<RSRC_NAME>"
"<ADDRESS>"
"<CITY <STATE> <ZIP></1>"
ON TABLE SET ALL ON
END
Once this is working, then you can add other fields, formatting, etc.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
TABLE FILE CAR
PRINT
LENGTH
WIDTH
HEIGHT
WEIGHT
WHEELBASE
BY COUNTRY NOPRINT
BY CAR NOPRINT
ON CAR SUBHEAD
"COUNTRY <+0> CAR"
"<COUNTRY<CAR"
ON TABLE SET STYLE *
TYPE=SUBHEAD, HEADALIGN=BODY, $
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server