Focal Point
contents of a database table/compound reports

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2091036481

September 08, 2006, 11:39 AM
ok_dhs
contents of a database table/compound reports
Just curious if anyone could help me finding info about these topics:

1. How to print contents of a database (Oracle) table?
2. How to program a compound report?
3. Any info about “table of contents” in a compound report?
4. What would be the best numbering convention in a compound report?

I would appreciate any help. Thanks.

Michael J.
September 08, 2006, 12:02 PM
KevinG
Michael,

For number 1 it would depend on whether you have a synonym created for the Oracle table (Master File Description + .acx file), or if you are using SQL passthru, but the basic syntax is;

TABLE FILE
PRINT *
ON TABLE SET ONLINE-FMT
END

I use PDF for printing, but many ouput choices are available...so replace with PDF.

Let me know if you need the SQL passthru example.

Hope this helps,

Kevin


WF 7.6.10 / WIN-AIX
September 08, 2006, 12:04 PM
KevinG
Whoops,

I keep forgettting the code tags
TABLE FILE <tablename>
PRINT *
ON TABLE SET ONLINE-FMT <yourchoicehere>
END  



Kevin


WF 7.6.10 / WIN-AIX
September 14, 2006, 01:51 PM
ok_dhs
Sorry about delay in posting my reply. I want to thank Kevin for his suggestion. It does seem to work just fine in most cases (as far as question # 1 goes). Thanks again.

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


Prod: WebFOCUS 7.1.3 on Linux Kernel-2.6.5 zSeries 64bit/Apache Tomcat/5.0.28 JAVA version 1.4.2_11 server