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

Problem in Report Control

 Post Reply Post Reply
Author
Message
xzoom View Drop Down
Newbie
Newbie


Joined: 06 October 2009
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote xzoom Quote  Post ReplyReply Direct Link To This Post Topic: Problem in Report Control
    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

Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 10:06am
Hello,
use e.row.Record because the row.index differs from Record.Index after sort, but each row knows his record.
Back to Top
xzoom View Drop Down
Newbie
Newbie


Joined: 06 October 2009
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote xzoom Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 2:25pm
thank u
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.156 seconds.