![]()  | 
 
Groups and Report Control | 
 
    Post Reply  
   | 
  
| Author | |
   
   SteveStraley  
   
   Groupie  
   Joined: 25 November 2005 Status: Offline Points: 46  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Groups and Report ControlPosted: 03 January 2010 at 12:29pm  | 
 
| 
   
    
   Hi Everyone,
 
   
  I'm a bit stumped at the moment.   I have a report with a group order.   I would like to search on the text that appears in the group header.   For example, if this report was NOT a groupped report, I could use the FindRecordItemByRows() method on the ROWS property.   But this doesn't seem to yield the same results if the report has group orders. 
Any ideas? 
Thanks, 
Steve 
    | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 January 2010 at 12:52pm | 
 
| 
   
    
   Sure not - group rows created dynamically and you need special code to anaylize it - make a loop on all group rows and check Captions for your pattern to find
    
   
   | 
 |
![]()  | 
 |
   
   SteveStraley  
   
   Groupie  
   Joined: 25 November 2005 Status: Offline Points: 46  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 04 January 2010 at 1:49pm | 
 
| 
   
    
   Thanks Mark...
 
   
  I looked at the CAPTIONS value but it doesn't return the value assigned IN the caption, just the default name of the column associated to it.   Is there something I'm missing? 
Steve 
    | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 04 January 2010 at 2:01pm | 
 
| 
   
    
   Try GroupCaption
    
   
   | 
 |
![]()  | 
 |
   
   SteveStraley  
   
   Groupie  
   Joined: 25 November 2005 Status: Offline Points: 46  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 04 January 2010 at 3:12pm | 
 
| 
   
    
   Mark... found it, thanks.. I had to cast to ReportGroupRow and can use 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  |