FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SetGroupHeader( "Title", 1, 2 ) values to names (SOLVED)
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM

SetGroupHeader( "Title", 1, 2 ) values to names (SOLVED)

Posted: Tue Jun 20, 2017 09:43 PM

Hello,

SetGroupHeader( "Name", 1, 2 )
SetGroupHeader( "Data", 3, 5 )

Is it possible to changes the numdata (1,2 and 3,5) to the names of the cols like this ?
I tried, but did not find the right combination

oBrw1:SetGroupHeader( "Name", oBrw[1]:ouder1, oBrw[1]:ouder5 )

Purpose : When I change the fields in the code, I also have to change these numbers. with colnames is does not matter.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: SetGroupHeader( "Title", 1, 2 ) change values to names

Posted: Wed Jun 21, 2017 02:33 AM

oBrw:SetGroupHeader( "Name". oBrw:oCol("FIRST"):nCreationOrder, oBrw:oCol("LAST"):nCreationOrder )

Regards



G. N. Rao.

Hyderabad, India
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM

Re: SetGroupHeader( "Title", 1, 2 ) change values to names

Posted: Wed Jun 21, 2017 06:55 AM

Thanks.

Marc Venken

Using: FWH 23.08 with Harbour

Continue the discussion