That is because, you havent check for EOF before trying to access it, so in case you get no image for any user, you end up with this error.
Code:
Set ORsFM = ConnFM.Execute(FM)
IF not ORsFM.eof then
'try to display data
Else
'No data resulted from the proc, which you can use to display default image or ignore
End IF
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection