in the xbrowse:report() print setup I go to print the groups
- Code: Select all Expand view
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
I tried with CRLF or by inserting oRep:newline() but nothing happens
any solution?