Making GroupReport from Xbrowse

Making GroupReport from Xbrowse

Postby Silvio.Falconi » Mon Oct 30, 2023 9:38 am

I grouped the records according to a field
in the xbrowse:report() print setup I go to print the groups

Code: Select all  Expand view  RUN

If nGroup >0
           IF lEject
           AAdd(oRep:aGroups,trGroup():New( bCampo2( afields, nGroup,oDbf ),; //campo
           {|| aGroup[nGroup]+" :"+oRep:aGroups[1]:cValue},;              //header
           {|| "Totale "+aGroup[nGroup]+": "+oRep:aGroups[1]:cValue+" ("+ltrim(str(oRep:aGroups[1]:nCounter))+")"},;  //footer
           {|| 1 },;   // Font
           .t.,oRep))    //leject


the problem I have and that I can't overcome is that when I print the group header it doesn't skip a line and the records are printed below too attached to the header as you can see in this figure

Image

I tried with CRLF or by inserting oRep:newline() but nothing happens

any solution?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests