Print Page | Close Window

REPORTCONTROL ROW DELETION

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=13501
Printed Date: 14 November 2024 at 11:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: REPORTCONTROL ROW DELETION
Posted By: sonix
Subject: REPORTCONTROL ROW DELETION
Date Posted: 25 February 2009 at 7:29pm
Hi,

Good day.
I need some help with regards to reportcontrol row deletion.
When I'm using this code:

                rptMainMessages.Records.RemoveAt(row.Record.Index);

It's successfully delete the row record. but I'm using the array or function that gets all the deleted record from
reportcontrol. my deleted records re-appeared in the interface.

please help me. thank you in advance.

GOD BLESS



Replies:
Posted By: SuperMario
Date Posted: 26 February 2009 at 9:19am
Coed looks right, so I'm not sure what you need.

Possibly you want

rptMainMessages.Records.RemoveAt(row.Record.Index);
rptMainMessages.Populate();

OR

rptMainMessages.RemoveRecordEx(row.Record.Index);
rptMainMessages.RowEx(row);


Posted By: sonix
Date Posted: 24 March 2009 at 6:47am

Hi sir,

 yes the code you've given delete the row in report control, but my problem right now when I change the focus in treeview, when I come back (eg. in inbox, the deleted row will appear again. I don't know what to do on this. please guide me on this. Thank you in advance, and God bless u all.



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