Pictures loading extremely slow

R

rg

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
 
T

Tony Toews [MVP]

rg said:
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?

Try using the OnPrint event instead of the OnFormat event. Apparently
the OnFormat event has "issues"

Tony
--
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
 
T

Tony Toews [MVP]

Vladimír Cvajniga said:
Pls, can you tell us more about the OnFormat "issues"?

Memory leaks and crashes happen when using the OnFormat event to print
images.

Tony
--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top