June 15, 2006, 09:27 AM
BenCPositioning 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 WardOne 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.
June 15, 2006, 11:10 AM
MikelYes... 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