[Gambas-devel] Report Designer
José L. Redrejo Rodríguez
jredrejo at ...101...
Sat Sep 25 11:00:41 CEST 2004
Why don't you have a look at http://rlib.sicompos.com/ ? . It would be
wonderful to have a gambas component using this library, and your
graphical interface to create the xml files. This library works quite
well and has a good part of your work finished.
Regards.
El sáb, 25-09-2004 a las 00:38, Christian Faure escribió:
> 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
More information about the Devel
mailing list