G
George
Dear friends,
I have a report which prints images stored in a folder. Within the table I
have a field called ImagePath in which I store the path of the image. I use
the following code on Format / Print Event and works fine:
Me![ImageFrame].Picture = Me![ImagePath]
The problem is when an image is not found (although the path is recorded) I
get an error message (Run-Time error 2220).
I guess I need to have some more code in order to check if the image is
found and if is not found to show me the original picture of the ImageFrame.
What code shall I use - Please help.
Thanking you in advance,
George
I have a report which prints images stored in a folder. Within the table I
have a field called ImagePath in which I store the path of the image. I use
the following code on Format / Print Event and works fine:
Me![ImageFrame].Picture = Me![ImagePath]
The problem is when an image is not found (although the path is recorded) I
get an error message (Run-Time error 2220).
I guess I need to have some more code in order to check if the image is
found and if is not found to show me the original picture of the ImageFrame.
What code shall I use - Please help.
Thanking you in advance,
George