Print Page | Close Window

Is it possible to only iterate over group rows?

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=10783
Printed Date: 23 November 2024 at 2:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is it possible to only iterate over group rows?
Posted By: nktsrw
Subject: Is it possible to only iterate over group rows?
Date Posted: 26 May 2008 at 4:55pm
Hi,

I would like to iterate only over group rows within a Report Control.

Is it possible?

Thanks,
srw



Replies:
Posted By: rmercer
Date Posted: 30 May 2008 at 11:24am
Originally posted by nktsrw nktsrw wrote:

Hi,

I would like to iterate only over group rows within a Report Control.

Is it possible?

Thanks,
srw
Use GetRows() to get your rows, then iterate through them, test using IsGroupRow() to see if a row is a group row...


Posted By: nktsrw
Date Posted: 30 May 2008 at 11:34am
yes, that's the straightforward way. But when you have thousands of records it's better to only iterate by group rows.


Posted By: rmercer
Date Posted: 30 May 2008 at 1:02pm
Originally posted by nktsrw nktsrw wrote:

yes, that's the straightforward way. But when you have thousands of records it's better to only iterate by group rows.
If you find a faster way, please let me know.  :)



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