G
Guest
I am using the following code in the report.detail.format method
If Len(Me![PhotoPath]) <> 0 Then
If Len(Dir(PhotoPath)) = 0 Then
Me![Photofield].Picture = ""
Else
Me![Photofield].Picture = Me![PhotoPath]
End If
Else
Me![Photofield].Picture = ""
End If
When a the PhotoPath field is blank (because the photo does not exist), the
photo from the previous record is printed. How can I correct this problem?
Thanks
If Len(Me![PhotoPath]) <> 0 Then
If Len(Dir(PhotoPath)) = 0 Then
Me![Photofield].Picture = ""
Else
Me![Photofield].Picture = Me![PhotoPath]
End If
Else
Me![Photofield].Picture = ""
End If
When a the PhotoPath field is blank (because the photo does not exist), the
photo from the previous record is printed. How can I correct this problem?
Thanks