[Gambas-user] How to group on reports using gb.report?

Benoît Minisini gambas at ...1...
Wed Feb 19 13:53:49 CET 2014


Le 19/02/2014 13:45, PICCORO McKAY Lenz a écrit :
> From: Willy Raets <willy at ...2734...>
>
>> I would like the report to like this:
>>
>> Articles produced     <-- header of the report (only on page 1)
>>
>> Code    Description     Amount
>> ------------------------------
>> 103     Table           20
>> 103     Table           12
>>          Total:          32
>>
>> Code    Description     Amount
>> ------------------------------
>> 105     Chair           46
>> 105     Chair           34
>>          Total:          80
>>
>
> this groups must be done making custom object and putting in groups...
> each group have same structure, so make a class with some objects
> (by example a VBox containel, a line, and some labels)
> and populate with the data (first group will be 103 right?)
> and then paint the groups, and then popualte next group and paint, and so...
>
> its tedious and hard to do, but its obviously.. gambas its a programing
> languaje
> not a graphical tool like the garbage of access, that are focused in that..
> the comparision was innecesary...

Maybe one day Fabien will make sort of "ReportTable" object to help 
making simple tables without having to use a lot of ReportVBox, 
ReportHBox and ReportLabel?

-- 
Benoît Minisini




More information about the User mailing list