Problem in Report Control |
Post Reply |
Author | |
xzoom
Newbie Joined: 06 October 2009 Location: Canada Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 01 November 2009 at 1:52am |
Hi, I use [C# language] and i write this code private void reportControl_RowDbClick(object sender, AxXtremeReportControl._DReportControlEvents_RowDblClickEvent e) { ReportRecords Record = reportControl.Records; MessageBox.Show("show accountID=" + Record[e.row.Index][0].Value); } the problem it is not in the code but when i run the Application and load data into reportControl records and then Dbclick on row or record it will send to me the message with accountID value with right value but when i resort the columns when i do DBclick agian in the same record after resort it will give me Different value after sorting , i hope understand me |
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
Hello,
use e.row.Record because the row.index differs from Record.Index after sort, but each row knows his record.
|
|
xzoom
Newbie Joined: 06 October 2009 Location: Canada Status: Offline Points: 5 |
Post Options
Thanks(0)
|
thank u
|
|
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 |