Pictures in Reports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report where I am trying to display pictures only when a check box
is selected. This part works fine. The problem I am having is formatting the
report so that there isn't space for a picture when the checkbox isn't
selected. Meaning, I have a list of equipment displaying, but only want a
picture when selected. However, when the checkbox isn't selected the space
for the picturte is still there. Any ideas?

Thanks in advance for any help.
 
You can use the format event to set the height of the picture to 0 (zero)
& Set the canshrink property to yes for the section
ie

Sub Detail_Format(....)
If Me.ChkBox = True Then
Me.PicPicture.Height=8000 ' Or Whatever
Else
Me.PicPicture.Height=0
End If


End Sub
 
You can use the format event to set the height of the picture to 0 (zero)
& Set the canshrink property to yes for the section
ie

Sub Detail_Format(....)
If Me.ChkBox = True Then
Me.PicPicture.Height=8000 ' Or Whatever
Else
Me.PicPicture.Height=0
End If


End Sub



sponger02 said:
I have a report where I am trying to display pictures only when a check box
is selected. This part works fine. The problem I am having is formatting
the
report so that there isn't space for a picture when the checkbox isn't
selected. Meaning, I have a list of equipment displaying, but only want a
picture when selected. However, when the checkbox isn't selected the space
for the picturte is still there. Any ideas?

Thanks in advance for any help.



--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top