Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / February 2007

Tip: Looking for answers? Try searching our database.

Pictures loading extremely slow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rg - 26 Feb 2007 21:01 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
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.