Print Page | Close Window

Treeview Question

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=7800
Printed Date: 21 December 2024 at 9:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Treeview Question
Posted By: nvierros
Subject: Treeview Question
Date Posted: 14 August 2007 at 7:07pm
Hi everyone,
 
I am trying to get an idea of how the treeview on the report control works.
 
Using the sample provided by codejock i understand how items are added to the report control.
 
What i am trying to do is loop through each record, but it doesnt include child items in the count. For e.g
 
Dim record As ReportRecord
For Each record In wndReportControl.Records
MsgBox record.Item(COLUMN_SUBJECT).Value
Next
Set recoed = Nothing
 
I have added only 1 item to the report control with 2 childs it will only count as one, when really it should be three.
 
How is this possible?? 
 
Thanks



Replies:
Posted By: fjsen
Date Posted: 16 August 2007 at 8:46am

I think the child records are got via "Childs" record property.

Sen



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