Print Page | Close Window

Clearing Report Control

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=3051
Printed Date: 04 December 2024 at 2:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Clearing Report Control
Posted By: mehran20
Subject: Clearing Report Control
Date Posted: 17 October 2005 at 3:39pm

Hi,

If I want to clear my report control completely, what's the easiest way!! Just consider that my report control might be tree.. < =text/>




Replies:
Posted By: sserge
Date Posted: 18 October 2005 at 3:42am
Hi,


wndReport.GetRecords()->RemoveAll(); // Removes all records with children
wndReport.Populate();


See also http://forum.codejock.com/forum_posts.asp?TID=3033&PN=1 - http://forum.codejock.com/forum_posts.asp?TID=3033&PN=1

--
WBR,
Serge


Posted By: mehran20
Date Posted: 18 October 2005 at 11:15am
Thanks, I thought it might be so but I was not sure if it would remove all the children too. Now I'm sure :)



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