I have built a report that pulls images into a grouped header. The images are stored in a separate file. I have the file path store in a field named ImageName.The images show up fine in the Groupedheader. The problem is this, on the First page of the report, the "Null" rows in the ImageName field are not visible(Property set in Design View)and the ImageFrame1 shrunks to .009 height(Property set in Design View)which is what I'm looking for, on the rest of the Reports pages the Null rows are pulling the image from the row above the "Null" row and inserting the image into my report(I don't want these images)
What am I missing?
Why would the first page by different from the rest of the pages?
Private Sub GroupHeader2_Format(Cancel As Integer, FormatCount As Integer)
If (IsNull([txtImageName])) Then
Else
Me!ImageFrame1.Picture = Me!txtImageName
Me!ImageFrame1.Visible = True
Me!ImageFrame1.Height = 1872
Me!txtImageName.Height = 360
End If
End Sub
What am I missing?
Why would the first page by different from the rest of the pages?
Private Sub GroupHeader2_Format(Cancel As Integer, FormatCount As Integer)
If (IsNull([txtImageName])) Then
Else
Me!ImageFrame1.Picture = Me!txtImageName
Me!ImageFrame1.Visible = True
Me!ImageFrame1.Height = 1872
Me!txtImageName.Height = 360
End If
End Sub