Nitrous270
Technical User
I have a report that i am trying to make w/ different pictures on each record. I have the image path stored in a table. After searching through the forums I found this method of displaying the picture.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me![ImageFrame].Properties("Picture"
= _
Me![ImagePath]
End Sub
This works and assigns a record the corresponding image, however if a record doesn't have an image it will use the last image and put it all of the following records.
I have tried puting in:
If Not IsNull(Me![ImagePath]) Then
<the statement above>
End If
It still has that problem though and likewise for the "" string.
Any Ideas?
Thanks,
Nitrous270
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me![ImageFrame].Properties("Picture"
Me![ImagePath]
End Sub
This works and assigns a record the corresponding image, however if a record doesn't have an image it will use the last image and put it all of the following records.
I have tried puting in:
If Not IsNull(Me![ImagePath]) Then
<the statement above>
End If
It still has that problem though and likewise for the "" string.
Any Ideas?
Thanks,
Nitrous270