[Gambas-user] Report

admin at ...1080... admin at ...1080...
Fri Sep 16 13:45:35 CEST 2005


Hi Ignatius

You could use Html-Templates, wich you can edit with vi or better with a
Html-Editor.
The template has placeholders for your data. Then you work in gambas source,
in short: you a template and replace the placeholder with data. As example
for a table: open recordset and a template for row, loop trough records and
add the template with placeholders replaced to variable. At the end you add
the needed stuff bevore and at the end, save or show it in a output-area.
Voila

Sample-template for rows:
	<tr><td style="font-size:102%">%%Col-one%%</td><td
style="fore-color:green">%%Col-two%%</td></tr>

Then Output = <html><body><table> & tablebody-variable &
</table></body></html>




-----Original Message-----
From: gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of
isy21 at ...1082...
Sent: Friday, September 16, 2005 1:02 PM
To: gambas-user at lists.sourceforge.net
Subject: [Gambas-user] Report

Hi, all

The sample report i found in gambas itself, it written to html file.
i just want to know, it is same as html tag code ? and can i design in
OpenOffice first ? or how can i define the position of printing field ?

Right now i already create some of report in DBReportDesigner and view it in
DBReportViewer. Much helper, and i like it, only have some trouble..maybe i
don't know how to use it.

but sometime, i have report that you can't changed in source.
I means, at example in gambas, the source for report, written in source
itself. DBReportDesigner will create xml file,that i can modify with vi.
Like report in some critical report, that i dont want user change it format
or result.


If i dont  miss,  last day someone told me it write report with Print
object, can i have a little sample code ?


Thanks anyway


Ignatius


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list