Mr. Rao,
How I can print a multiheader xbrowse ?
I use : FiveWin for Harbour March-April 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
Mr. Rao,
How I can print a multiheader xbrowse ?
At present grouped headers are not implemented in Report class.
When we export from a browse with group header, the group header is printed above the column header for each column.
I hope you'll resolve this feature soon

Hi,
Can you share a portion of this xbrowse code i have a similar project ?
regards,
Create xbrowse in normal manner.
Then
oBrw:SetGroupHeader( cGrpHeaderName, nFromColNo, nLastColNo )
For example, if you want to have a group header by name "GROUP" for columns nos, 3 to 6 then
oBrw:SetGroupHeader( "GROUP", 3, 6 )
Hello!
:setGroupHeader in array? can use?
goosfancito wrote:Hello!
:setGroupHeader in array? can use?
Silvio.Falconi wrote:Mr. Rao,
How I can print a multiheader xbrowse ?
static function MyRepSetUp( oRep, oBrw, nCall,ntipo )
Local oFont
DO CASE
CASE ntipo=1 // tabella piccola
DEFINE FONT oFont NAME 'ARIAL NARROW' SIZE 0,-12 OF oRep:oDevice
CASE ntipo=2 //tabella grande
DEFINE FONT oFont NAME 'ARIAL NARROW' SIZE 0,-6 OF oRep:oDevice
ENDCASE
if nCall == 1 // called by xbrowse after oRep created but before creation of columns
return 2 // ask xbrowse to call second time after creation of columns
endif
// this call is after creation of columns
// here we extend oRep and oRep:Columns array
// with any additonal features we want
oRep:aFont[ 1 ] := oFont
oRep:cellview()
return NIL


We will look into this and get back to you
do you need my data?
Not required now.
Hello Silvio,
have you tried to use EasyReport.
Best regards,
Otto
no but I used Printer class I have
ntotal_columns:= 3*Hourdays+3+1+1
the Hourdays can be from 6 to 10 each day of week
it's very hard