I have a database that contains a field that stores the path of a jpg image. I want to display the image in a report when it’s printed and I have the following event:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
On Error Resume Next
Me![Image].Picture = Me![Photo_Path]
End Sub
This works fine except that the printing aborts after approximately 40 pages. I am getting a message that states that I am running out of virtual memory. I am running Windows XP and have plenty of hard disk space and about 256 Mb of RAM.
I have tried printing the report to a pdf as well as tried running from a higher end machine.
I noticed several posting similar to this one, but no one seems to have the problem of actually printing.
The images are jpg files and have been compressed.
I was hoping to use Crystal Report to solve this problem, but based on the postings, it appears that it is not possible to print images by retrieving them from a path statement.
Any help you can provide will be greatly appreciated.
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
On Error Resume Next
Me![Image].Picture = Me![Photo_Path]
End Sub
This works fine except that the printing aborts after approximately 40 pages. I am getting a message that states that I am running out of virtual memory. I am running Windows XP and have plenty of hard disk space and about 256 Mb of RAM.
I have tried printing the report to a pdf as well as tried running from a higher end machine.
I noticed several posting similar to this one, but no one seems to have the problem of actually printing.
The images are jpg files and have been compressed.
I was hoping to use Crystal Report to solve this problem, but based on the postings, it appears that it is not possible to print images by retrieving them from a path statement.
Any help you can provide will be greatly appreciated.