I have a report whose pages are populated with image controls arranged in a 5 column by 6 row array of thumbnails. There 5 pages of thumbnails and the controls are set with this code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim ImagePath As String
'================================================= ===
' Fetch the image name and set the image control.
' Use the default image if the image name is missing.
'================================================= ===
ImagePath = IPImages & "\" & Me.FamilyImageID & ".jpg"
If Len(Dir(ImagePath)) = 0 Then
ImagePath = IPImages & "\DefaultPic.jpg"
End If
Me.ImageBox.Picture = ImagePath
End Sub
Sporadically, and seemingly randomly, some of the controls show up empty. As you can see from the code, the images are stored as jpg images. They vary in size from 250KB to as much as 800KB. The resulting report looks okay when processed on a fast computer with A2010, but sporadically on a slightly slower computer (A2003 I5 with 4GB memory Win 7 Pro). THEN, when the report is exported to a pdf, the processing terminates with an error suggesting that the images be converted to bmp's no matter which machine is used.
Any ideas as to what might be going on?
Thanks,
Bill Stanton