Report Xbrowse Multiheader
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Report Xbrowse Multiheader
Mr. Rao,
How I can print a multiheader xbrowse ?
How I can print a multiheader xbrowse ?
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
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
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Report Xbrowse Multiheader
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.
When we export from a browse with group header, the group header is printed above the column header for each column.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: Report Xbrowse Multiheader
I hope you'll resolve this feature soon
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
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
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: Report Xbrowse Multiheader
Mr Rao,
If I wish create ( to hand) the report how I can make to call the values of headers and subheaders of a xbrowse ?
I use the xbrowse with an array
to understands my problem do you Remeber the school software ?

If I wish create ( to hand) the report how I can make to call the values of headers and subheaders of a xbrowse ?
I use the xbrowse with an array
to understands my problem do you Remeber the school software ?

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
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
Re: Report Xbrowse Multiheader
Hi,
Can you share a portion of this xbrowse code i have a similar project ?
regards,
Can you share a portion of this xbrowse code i have a similar project ?
regards,
Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Report Xbrowse Multiheader
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 )
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 )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- goosfancito
- Posts: 1955
- Joined: Fri Oct 07, 2005 7:08 pm
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Report Xbrowse Multiheader
goosfancito wrote:Hello!
:setGroupHeader in array? can use?
Yes
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Report Xbrowse Multiheader
Silvio.Falconi wrote:Mr. Rao,
How I can print a multiheader xbrowse ?
Printing of group headers in oBrw:Report() has already been implemented a few versions ago. This is for general information.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: Report Xbrowse Multiheader
Mr Nages
to print this multiheader project with oBrw:report() is too hard because there many problems
I use to print this command
oApp:oGrid:Report( cTitle, , , { | oRep, oBrw, nCall| MyRepSetup( oRep, oApp:oGrid, nCall,1) } )
MyRepSetup
and this is the result

you can see there is a white second page
then it not print all columns
and the grid lines are up the data

on this capture image you can see the header is not print good
Because I tried to talk with you for this problems many months ago and I forget to talk with you of this problem at sillian and then I not found a solution now I use printer class to print this table on A3 and A4 paper

I think that your printing function (obrw:report()) with multiheaders can never get the same result made with printer class
I just had to work more days and consumed so much paper ... virtual
to print this multiheader project with oBrw:report() is too hard because there many problems
I use to print this command
oApp:oGrid:Report( cTitle, , , { | oRep, oBrw, nCall| MyRepSetup( oRep, oApp:oGrid, nCall,1) } )
MyRepSetup
Code: Select all | Expand
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
and this is the result

you can see there is a white second page
then it not print all columns
and the grid lines are up the data

on this capture image you can see the header is not print good
Because I tried to talk with you for this problems many months ago and I forget to talk with you of this problem at sillian and then I not found a solution now I use printer class to print this table on A3 and A4 paper

I think that your printing function (obrw:report()) with multiheaders can never get the same result made with printer class
I just had to work more days and consumed so much paper ... virtual

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
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
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Report Xbrowse Multiheader
We will look into this and get back to you
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: Report Xbrowse Multiheader
do you need my data?
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
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
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- Contact:
Re: Report Xbrowse Multiheader
Hello Silvio,
have you tried to use EasyReport.
Best regards,
Otto
have you tried to use EasyReport.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: Report Xbrowse Multiheader
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
ntotal_columns:= 3*Hourdays+3+1+1
the Hourdays can be from 6 to 10 each day of week
it's very hard
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
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