All of the really nice easy to use functions depend on you using the detail band.
Otherwise, you'll need to parse the return value of GetBandAtPointer Function. This will allow you to get the first detail row which informs your group row.
Here is an example from some of my code:
// Get Info from Header
band = dw_unbillables.GetBandAtPointer()
// Get the first row referred to by the header
li_cur_row = Integer(Mid(band,Pos(band, "~t")+1))
From Help: Return value
Returns a string that names the band in which the pointer is located, followed by a tab character and the number of the row associated with the band (see the table in Usage). Returns the empty string (" ") if an error occurs. If dwcontrol is null, the method returns null.
Search the help for GetBandAtPointer for full details.