Images in Reports

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JDW

    #1

    Images in Reports

    Now I can add images in a Report who change in each record.

    But if the image-field in some fields is empty, then in the Report stands
    the image of the previous record...

    How to fix that ?

    JDW
    Belgium
    Europe


  • fredg

    #2
    Re: Images in Reports

    On Tue, 12 Dec 2006 21:16:07 +0100, JDW wrote:
    Now I can add images in a Report who change in each record.
    >
    But if the image-field in some fields is empty, then in the Report stands
    the image of the previous record...
    >
    How to fix that ?
    >
    JDW
    Belgium
    Europe
    Code the section Format event that the Image is in (Detail Format
    event):

    Me!ImageName.Vi sible = Not isNull([ImageFieldName])
    --
    Fred
    Please respond only to this newsgroup.
    I do not reply to personal e-mail

    Comment

    • JDW

      #3
      Re: Images in Reports


      "fredg" <fgutkind@examp le.invalidschre ef in bericht
      news:hf4vtpm5d4 5g.1jrd7ajb0zn5 3.dlg@40tude.ne t...
      On Tue, 12 Dec 2006 21:16:07 +0100, JDW wrote:
      >
      >Now I can add images in a Report who change in each record.
      >>
      >But if the image-field in some fields is empty, then in the Report stands
      >the image of the previous record...
      >>
      >How to fix that ?
      >>
      >JDW
      >Belgium
      >Europe
      >
      Code the section Format event that the Image is in (Detail Format
      event):
      >
      Me!ImageName.Vi sible = Not isNull([ImageFieldName])
      --
      Fred
      Please respond only to this newsgroup.
      I do not reply to personal e-mail


      No result...

      JDW


      Comment

      • Karl

        #4
        Re: Images in Reports

        Add an Image Control to the detail section of the report.

        In the On Format event of the detail section, add something like the middle
        line shown below


        Private Sub Detail_Format(C ancel As Integer, FormatCount As Integer)

        Me.Image0.Pictu re = Me.ImagePath

        End Sub



        "JDW" <jdwaccess@hotm ail.comwrote in message
        news:457fee1e$0 $1119$ba620e4c@ news.skynet.be. ..
        >
        "fredg" <fgutkind@examp le.invalidschre ef in bericht
        news:hf4vtpm5d4 5g.1jrd7ajb0zn5 3.dlg@40tude.ne t...
        >On Tue, 12 Dec 2006 21:16:07 +0100, JDW wrote:
        >>
        >>Now I can add images in a Report who change in each record.
        >>>
        >>But if the image-field in some fields is empty, then in the Report
        >>stands
        >>the image of the previous record...
        >>>
        >>How to fix that ?
        >>>
        >>JDW
        >>Belgium
        >>Europe
        >>
        >Code the section Format event that the Image is in (Detail Format
        >event):
        >>
        >Me!ImageName.V isible = Not isNull([ImageFieldName])
        >--
        >Fred
        >Please respond only to this newsgroup.
        >I do not reply to personal e-mail
        >
        >
        >
        No result...
        >
        JDW
        >

        Comment

        Working...