![]()  | 
 
Problem in Report Control | 
 
    Post Reply  
   | 
  
| Author | |
   
   xzoom  
   
   Newbie  
   Joined: 06 October 2009 Location: Canada Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Problem in Report ControlPosted: 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)
      Quote   Reply
   
     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. 
    | 
 |
![]()  | 
 |
   
   xzoom  
   
   Newbie  
   Joined: 06 October 2009 Location: Canada Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 05 November 2009 at 2:25pm | 
 
| 
   
    
   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  |