Deleting Rows? |
Post Reply |
Author | |
VivantL
Newbie Joined: 08 August 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 08 August 2005 at 2:48pm |
I'm having trouble figuring out how to delete rows from a Report that has been sorted / has groups enabled. Currently my code looks like this:
This works just fine if the list has not been sorted. However, if the list is sorted then the indexes returned by SelectedRows do not match the internal representation in the list and the wrong rows are deleted. Is there a method to work around this? In the standard ListView the rows correspond to each other. Thanks! Edited by VivantL |
|
VivantL
Newbie Joined: 08 August 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Ah, nevermind I figured out how to do it. I just needed to use axReportControl1.SelectedRows.Record.Index Sorry about that! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |