By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,504 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,504 IT Pros & Developers. It's quick & easy.

Images in Reports

P: n/a
JDW
Now I can add images in a Report who change in each record.

But if the image-field in some fields is empty, then in the Report stands
the image of the previous record...

How to fix that ?

JDW
Belgium
Europe
Dec 12 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Tue, 12 Dec 2006 21:16:07 +0100, JDW wrote:
Now I can add images in a Report who change in each record.

But if the image-field in some fields is empty, then in the Report stands
the image of the previous record...

How to fix that ?

JDW
Belgium
Europe
Code the section Format event that the Image is in (Detail Format
event):

Me!ImageName.Visible = Not isNull([ImageFieldName])
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Dec 12 '06 #2

P: n/a
JDW

"fredg" <fg******@example.invalidschreef in bericht
news:hf****************************@40tude.net...
On Tue, 12 Dec 2006 21:16:07 +0100, JDW wrote:
>Now I can add images in a Report who change in each record.

But if the image-field in some fields is empty, then in the Report stands
the image of the previous record...

How to fix that ?

JDW
Belgium
Europe

Code the section Format event that the Image is in (Detail Format
event):

Me!ImageName.Visible = Not isNull([ImageFieldName])
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


No result...

JDW
Dec 13 '06 #3

P: n/a
Add an Image Control to the detail section of the report.

In the On Format event of the detail section, add something like the middle
line shown below
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)

Me.Image0.Picture = Me.ImagePath

End Sub

"JDW" <jd*******@hotmail.comwrote in message
news:45**********************@news.skynet.be...
>
"fredg" <fg******@example.invalidschreef in bericht
news:hf****************************@40tude.net...
>On Tue, 12 Dec 2006 21:16:07 +0100, JDW wrote:
>>Now I can add images in a Report who change in each record.

But if the image-field in some fields is empty, then in the Report
stands
the image of the previous record...

How to fix that ?

JDW
Belgium
Europe

Code the section Format event that the Image is in (Detail Format
event):

Me!ImageName.Visible = Not isNull([ImageFieldName])
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

No result...

JDW

Dec 14 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.