I have a report that needs to show multiple pictures.
In the detail section of my report, I have an unbound imageframe object, and a textbox that contains the absolute path of this image. I have a function that I use elsewhere in my application that displays an image, given a path and an image frame. (continuous view, so multiple strings in the detail section).
In the on current property, as well as on load, (and I added a button to the detail section to test), I execute the code showpic(me.imageframe, me.imagepath).
My problem is that every imageframe in my report gets rendered to the same (first) path. The code isn’t executed individually for each element in my report.
How would I achieve this?
Using Access 2010, an image frame, and this code:
I get a new image for each detail item, but only in print preview. All images were bmp.