Print Page | Close Window

Parent of a Record?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=5432
Printed Date: 18 September 2024 at 10:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Parent of a Record?
Posted By: gshawn
Subject: Parent of a Record?
Date Posted: 05 November 2006 at 9:42am

Hi,

How can I access a specific Record's parent record?
 
Example:
 
Dim ParentRecord As ReportRecord
Dim ChildRecord As ReportRecord
Set ChildRecord = ParentRecord.Childs.Add()
ChildRecord.AddItem "Wheee!"
ChildRecord.Parent.Tag = "I'm the parent!"  <----- ?????
 
Thanks!



Replies:
Posted By: gshawn
Date Posted: 05 November 2006 at 9:51am
OK if I'm not mistaken, I have to access it via Row.ParentRow.... correct?


Posted By: sserge
Date Posted: 05 November 2006 at 12:51pm
Originally posted by gshawn gshawn wrote:

OK if I'm not mistaken, I have to access it via Row.ParentRow.... correct?


Row.ParentRow.Record.Tag



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net