Hi, I need to create a Financial report of the below format as I never worked on such report.Please help in this regard if anyone has ever worked on this
I would need to know why a straight FML report would not solve this requirement.
May 30, 2010, 07:43 PM
Waz
I agree with Efrem, FML is probably the best way to go.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
June 02, 2010, 11:00 AM
<msam>
Waz and Efem, Thanks a ton for the great help.. Let me ask you one quick question.. As per FML we need to have atleast one FOR field to get a matrix format.. My concern here is what if that FOR field is coming from DEFINE field..then how would I create a matrix format... Am I going in the right direction.. no much exp... about financial reports...
Regards, MSAM
June 02, 2010, 11:15 AM
Francis Mariani
A DEFINE field is like and other REAL field, so you should have no trouble using it in a FOR statement.
Perhaps you could try coding a report that is close to what you're looking for, using one of the demo files, CAR, GGORDER, EMPLOYEE, CENTORD, etc. Post this code and we may be able to tweak it to produce the desired result. Also, take a look at program kpifin.fex in App Folder ibinccen - it might provide clues.
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
June 02, 2010, 01:18 PM
Efrem
A FOR field can apply to a DEFINE.
eg.
DEFINE FILE CAR COUNTRY2/A20 = COUNTRY; END
TABLE FILE CAR SUM DEALER_COST RETAIL_COST FOR COUNTRY2 'ENGLAND' AS 'ENGLAND' LABEL R1 OVER 'JAPAN' AS 'JAPAN' LABEL R2 END
June 02, 2010, 03:17 PM
<msam>
OK THANKS FOR THE INFO.. I REALLY APPRECIATE YOUR HELP...