Picture Issues

kidzmom3

Member
Local time
Today, 02:27
Joined
Jan 25, 2002
Messages
39
I have a report with images (using the path name method). I have it error trapped, if there's a broken reference to an image. It works with one exception, the image frame for the record with the broken image displays the image from the previous displayed record. I've gotten around this with VB coding in a form, but can't seem to find the right code to make the image box empty for the broken reference. Any suggestions? Thanks!
 
Since you can trap for a broken reference can you then switch the reference to a blank picture? Or is this a one shot deal you find the path and set it and do not know that it is broken prior to finishing the code?

GumbyD
 
Correct! I do not know the pix reference is broken until the detail section of the report formats, and have tried setting it to a blank image, but it just hasn't come together. For now, I've created a bmp file that states 'missing pix' and saved it to the MSOffice/Office folder where Access resides and error trapped to strImagePath = "MISSING.bmp". It's working for now, but is not the most desired way I was hoping to handle it. If you've got a better suggestion, it's welcome. Thanks for the response!!!!!
 

Users who are viewing this thread

Back
Top Bottom