Hide the Loading Image dialog ("Importing" message)

  • Thread starter Thread starter Harold
  • Start date Start date
H

Harold

sI have a report with an image control. The report has 2 subreports as well.
When the image loads there are 3 instances of the "Loading Image dialog".

I understand this message can be avoided with a modification to the registry
but that solution is not reasonable in my envitornment. I also do not want to
embed the image because of bloat.

Is there any other solution to avoid the mesaage or at least have it display
once instaed of several times.

Thanks in advance
 
Not sure if there is a bettre approach but since my image is in the report
footer, I added the following code to the fomat event:

If Page = Pages Then
If Not IsNull(Me!Image_Box) Then
Me![Image1].Picture = Me!Image_Box
Else
Me![Image1].Picture = ""
End If
End If
 
Check out this link. I think it will solve your problem

http://www.mvps.org/access/api/api0038.htm
--
Dave Hargis, Microsoft Access MVP


Harold said:
Not sure if there is a bettre approach but since my image is in the report
footer, I added the following code to the fomat event:

If Page = Pages Then
If Not IsNull(Me!Image_Box) Then
Me![Image1].Picture = Me!Image_Box
Else
Me![Image1].Picture = ""
End If
End If

Harold said:
sI have a report with an image control. The report has 2 subreports as well.
When the image loads there are 3 instances of the "Loading Image dialog".

I understand this message can be avoided with a modification to the registry
but that solution is not reasonable in my envitornment. I also do not want to
embed the image because of bloat.

Is there any other solution to avoid the mesaage or at least have it display
once instaed of several times.

Thanks in advance
 
Place your code to load the Image in the section's Print Event NOT in the
Format event.

You may/will run into lack of resource issues though if you do not turn off
the Loading Image dialog via the REgistry.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top