Clearing an Image on a Report's page

  • Thread starter every1luvsVB via AccessMonster.com
  • Start date
E

every1luvsVB via AccessMonster.com

Hi there..

I am setting an image's picture property to a path and filename string at
runtime on the detail section of a report. However I also need to clear the
image.picture if no picture exists for a given record / report page..

All seems to work until the image needs to be cleared for a null picture
record.. -instead the image just keeps on displaying the previously displayed
image.picture until a subsequent record references another image.picture to
refresh the image with..

Any ideas as to how I can clear this image of showing a picture if there is
no picture to be shown? My code works fine for a form but not for a report..

Any help would greatly be appreciated!
 
A

Allen Browne

You should be able to set the Picture property of the image control to this
string:
[None]

Alternatively, set its Visible property to hide it.
 
E

every1luvsVB via AccessMonster.com

Hi thanks for advice..

-am not sure what you mean however by setting .picture to [None] ?

But the .visible idea works.. thanks again!





Allen said:
You should be able to set the Picture property of the image control to this
string:
[None]

Alternatively, set its Visible property to hide it.
I am setting an image's picture property to a path and filename string at
runtime on the detail section of a report. However I also need to clear
[quoted text clipped - 12 lines]
no picture to be shown? My code works fine for a form but not for a
report..
 

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

Top