In reports use the ‘Detail_Format’ event, as follows:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) ‘ Load the image control here End Sub
One important difference in reports is that the field which contains (or from which you generate) the filename will not be retrieved unless it is present in a bound control on the form, so add a text box bound to this field. You can make it invisible if required.
-- _______________________________________________________ The Access Image FAQ http://www.ammara.com/access_image_faq/
"shank" <shank[ at ]tampabay.rr.com> wrote:
[Quoted Text] >I'm trying to add a picture to my report where the path of the picture is in >the [Pic] field. > >The help section has the following blurb... > >>>Click the Build button next to the OnCurrent property box, and then click >>>Code Builder in the Choose Builder dialog box. << > >I don't have an "OnCurrent" property to my report. >What did I miss? >thanks! > >
|