Focal Point
Positioning Mutiple Tables in a single FEX

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

June 15, 2006, 09:27 AM
BenC
Positioning Mutiple Tables in a single FEX
Hi,

Does anyone know if it is possible to display the tables in different positions other then the default vertical?

i.e.

Table1
Table2
Table3
Table4

To maybe something like:

Table1 Table2
Table3 Table4
June 15, 2006, 10:46 AM
Lenny Ward
One way is using the compound layout tool.
I use it to output multiple PDF reports onto a single page positioned both horizontal and vertical.

The code to do this is not in the manual but if you use dev-studio you can lay one out and then see all the code you need.


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
June 15, 2006, 11:10 AM
Mikel
Yes... using main table or css styles. See the example:

-* Report
TABLE FILE CAR
  SUM SALES
  BY COUNTRY
  ON TABLE HOLD FORMAT HTMTABLE 
END
-RUN

-* Method 1  - tables inside main table
-HTMLFORM BEGIN
<table style="border: 1px solid red;">
  <tr><td>!IBI.FIL.HOLD;</td><td>!IBI.FIL.HOLD;</td></tr>
  <tr><td>!IBI.FIL.HOLD;</td><td>!IBI.FIL.HOLD;</td></tr>
</table>
-HTMLFORM END

-* Method 2  - table display inline (not block)
-HTMLFORM BEGIN
<style type="text/css">
  table {display: inline;}
</style>
!IBI.FIL.HOLD;
!IBI.FIL.HOLD;
!IBI.FIL.HOLD;
!IBI.FIL.HOLD;
-HTMLFORM END

Regards,
Mikel


WebFOCUS 8.1.05, 8.2.01