Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - REPORTCONTROL ROW DELETION
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

REPORTCONTROL ROW DELETION

 Post Reply Post Reply
Author
Message
sonix View Drop Down
Newbie
Newbie
Avatar

Joined: 26 January 2009
Location: Philippines
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote sonix Quote  Post ReplyReply Direct Link To This Post Topic: REPORTCONTROL ROW DELETION
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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);
Back to Top
sonix View Drop Down
Newbie
Newbie
Avatar

Joined: 26 January 2009
Location: Philippines
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote sonix Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.