You may be able to adapt this concept to fit your environment. I use VB6 to integrate with Crystal. The way I handle this is to loop through the Report object's Areas collection, looking for Group Headers:
[tt]
Dim blnGroups As Boolean
Dim crxArea As CRAXDRT.Area
'Look for any Groups to determine whether or not to
' show the Group Tree
For Each crxArea In Report.Areas
If crxArea.Kind = 3 Then
blnGroups = True
End If
Next crxArea
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.