Page 1 of 1

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

PostPosted: Tue Jun 20, 2017 9:43 pm
by Marc Venken
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.

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

PostPosted: Wed Jun 21, 2017 2:33 am
by nageswaragunupudi
oBrw:SetGroupHeader( "Name". oBrw:oCol("FIRST"):nCreationOrder, oBrw:oCol("LAST"):nCreationOrder )

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

PostPosted: Wed Jun 21, 2017 6:55 am
by Marc Venken
Thanks.