Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - .FindRow() fails to return a Row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

.FindRow() fails to return a Row

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: .FindRow() fails to return a Row
    Posted: 21 May 2007 at 8:34pm
I'm passing the function FindRow a valid Record yet it fails to return a Row. How could this be?
 
    For Each Record In ReportDrvs.Records
        
         Set r = ReportDrvs.Rows.FindRow(Record)
            
         If (r Is Nothing) Then Err.Raise JMS_FIND_ROW_ROW_NOT_FOUND, , "JMS_FIND_ROW_ROW_NOT_FOUND"
            
         r.Selected = True
            
         Exit For
            
    Next Record
Obviously this code means a valid Record is being passed to FindRow. Yet, I do not get a valid Row in return and r = Nothing. How can this be?
 
Shawshank
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.141 seconds.