Attach photo to multiple report items

GaelicFatboy

Registered User.
Local time
Today, 18:31
Joined
Apr 17, 2007
Messages
100
Chaps,

I have property data for various items; such as…

ITEM-1
Property 1: size
Property 2: weight
Property 3: manufacturer
Property 4: URL address

ITEM-2
Property 1: size
Property 2: weight
Property 3: manufacturer
Property 4: URL address

…and so on; one of the properties is the URL address for a photograph of the item. I have code that can pull each individual photo from the internet using the URL address and attach it to a given image object on a form or report header one at a time. My problem is that I have a short report that lists a dozen or so items and their associated properties including the photo. I’ve grouped the property data by “Item” and positioned an image object in the “group header” to display the photo. Unfortunately the code to get the URL photo, only runs once for the first item on the report and it is this photo that is displayed for all the other items. Is there a way, when running the report query, to call my URL photo code for each item on the report and attach it to the associate image object or is it possible once the report has loaded to go along afterward and for each item on the report, attached the associated URL photo?

Thanks for your help.

D
 
Is this code in the Detail_Format() of the report?
If you want it to run for each record, it should be in the Detail_Format area.
 
Since my original post I've got the code to work from the "Group_Format" section, but only when I use "Print Preview", the code won't run for "Report View" nothing seems to trigger the code for each group in the report when using this view.

Cheers, D
 

Users who are viewing this thread

Back
Top Bottom