Thank you again!
Making progress - a picture shows!
However, there's only one entry in the database which has a link to a
picture; in the report as soon as that person is processed all the rest
of
the records show that same picture.
In an attempt to fix it, I put in
If Nz(Me.PictureLink) <> "" Then
Me.ImageName.Picture = Nz(Me.[PictureLink])
Else
Me.ImageName.Picture = ""
End If
But that seems to have had no effect.
Is it an "acceptable" solution if I have a blank picture (with "Not yet
available" in it, for instance) and use the link to it in lieu of the ""
in
the else clause? It seems to work ok. Or is there a better solution?
Dick
What is the Nz() supposed to do here?
You suggestion of having a blank picture is fine.
Another solution would be something like this:
Place a Label over the Image.
Set it's caption to "Picture not yet available"
Code the detail Format event:
If IsNull(Me.PictureLink) Then
Me.ImageName.Visible = False
Me.LabelName.Visible = True
Else
Me.ImageName.Picture = Me.[PictureLink]
Me.ImageName.Visible = True
Me.LabelName.Visible = False
End If
The picture appears only if there is one. otherwise the Image is made
not visible and the Label appears.