[Gambas-devel] Report Designer
Christian Faure
christian.faurebouvard at ...156...
Sat Sep 25 00:38:54 CEST 2004
Hi,
Thanks to Ron for XML tests,
Now i'am working on a DBReportDesigner (see screenshot)
I want to save the report definition as XML file like this
<REPORT>
<DATABASE>
<CONNECTION name="MyDB1" host="127.0.0.1" .... >
</CONNECTION>
<CONNECTION name="MyDB2" host="192.168.0.1" .... >
</CONNECTION>
...
<RECORDSOURCE name="table1">
select *
from table1
</RECORDSOURCE>
<RECORDSOURCE name="table2" master="table1">
select *
from table2
where table2.id={table1.id}
</RECORDSOURCE>
...
</DATABASE>
<LAYOUT>
<SECTION name="HeaderTable1" foreach="table1" >
...
</SECTION>
<SECTION name="DetailTable2" foreach="table2" >
...
</SECTION>
<SECTION name="FootherTable1" foreach="table1" >
...
</SECTION>
...
</LAYOUT>
</REPORT>
It allow multiple db connection, multiple recordsources, nested recordsources,
multiple sections.
But i need to know the future XML components included with gambas
(gb.xml, expatc,or both, or another), to build the DBReportViewer.
Thanks,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBReportDesigner-0.0.jpg
Type: image/jpeg
Size: 63846 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20040924/8b1ae268/attachment.jpg>
More information about the Devel
mailing list