Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Check if selected row do have parent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Check if selected row do have parent

 Post Reply Post Reply
Author
Message
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post Topic: Check if selected row do have parent
    Posted: 27 April 2007 at 7:33pm
May I know how can I check if current selected row do have a parent row or not?

Thanks in advance.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2007 at 5:02pm
Hi,

Here is an example:

Private Sub wndReportControl_SelectionChanged()
    If Not wndReportControl.SelectedRows(0).ParentRow Is Nothing Then
        Debug.Print wndReportControl.SelectedRows(0).ParentRow.Record.Item(2).Value
    Else
        Debug.Print "Nothing"
    End If
End Sub


--
WBR,
Serge
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.219 seconds.