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

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

Postby Marc Venken » Tue Jun 20, 2017 9: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.
Last edited by Marc Venken on Wed Jun 21, 2017 6:56 am, edited 1 time in total.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1431
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

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

Postby nageswaragunupudi » Wed Jun 21, 2017 2:33 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby Marc Venken » Wed Jun 21, 2017 6:55 am

Thanks.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1431
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 112 guests