I have pictures in a database report, 4 per page. I have the pathname in the
field in the records, and assign the picture to an image control in the On
Print event of the Detail section. The pictures are incredibly slow and the
report crashes on the third page when my client runs the program on her
computer. They are slow on my computer, and the loading gets slower with each
page. I had her supress the printing dialog box on the computer she is using.
Is there some way to make this work faster, and not crash?
-rg
kingston - 26 Feb 2007 21:37 GMT
Have you checked the size of the pictures? At 4 per page, I doubt you need
more than 500KB per image. Also, Access works better with bitmaps. You may
simply be asking Access to do too much image processing (compressing,
converting, stretching...).
>I have pictures in a database report, 4 per page. I have the pathname in the
>field in the records, and assign the picture to an image control in the On
[quoted text clipped - 4 lines]
>Is there some way to make this work faster, and not crash?
>-rg
rg - 26 Feb 2007 21:55 GMT
Would it help is the image size is the same on the report and the saved file?
> Have you checked the size of the pictures? At 4 per page, I doubt you need
> more than 500KB per image. Also, Access works better with bitmaps. You may
[quoted text clipped - 9 lines]
> >Is there some way to make this work faster, and not crash?
> >-rg
Tony Toews [MVP] - 27 Feb 2007 00:10 GMT
>I have pictures in a database report, 4 per page. I have the pathname in the
>field in the records, and assign the picture to an image control in the On
[quoted text clipped - 3 lines]
>page. I had her supress the printing dialog box on the computer she is using.
>Is there some way to make this work faster, and not crash?
Try using the OnPrint event instead of the OnFormat event. Apparently
the OnFormat event has "issues"
Tony

Signature
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Vladimír Cvajniga - 27 Feb 2007 07:31 GMT
Pls, can you tell us more about the OnFormat "issues"?
Vlado
>>I have pictures in a database report, 4 per page. I have the pathname in
>>the
[quoted text clipped - 12 lines]
>
> Tony
Tony Toews [MVP] - 27 Feb 2007 19:12 GMT
>Pls, can you tell us more about the OnFormat "issues"?
Memory leaks and crashes happen when using the OnFormat event to print
images.
Tony

Signature
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm