Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Getting the GroupRow from a Row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Getting the GroupRow from a Row

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: Getting the GroupRow from a Row
    Posted: 10 January 2006 at 10:47am

Is it possible to obtain the GroupRow and thus the GroupRowCaption when all one has is the Row? It certainly seems like it should be possible but I see now way to do so. I have noted the ReportGroupRow class but I'm not sure how to initialize it using VB. Something like:

Dim GrpRw as ReportGroupRow

Set GrpRw = New Row.GroupRow

Obviously that doesn't work. Is the ReportGroupRow class what I need to access the Row's GroupCaption. If so, how do I initialize it the ReportGroupRow class.

Back to Top
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2006 at 11:56am

Try this:

    If Not Row.ParentRow Is Nothing Then
      Debug.Print Row.ParentRow.GroupCaption
    End If

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.187 seconds.