A
Ade
I am using a text field in a table that contains the path to a picture for
each record. The images in the report are contained in an image control
along with a text field in the detail section that has the image path as the
control source. So I have the table as the data source for a report that
displays record details along with it's picture.
When I start the report it displays the first page after quite a long time,
I can continue previewing through the report up to about page 7. There are 4
records per page. After page 8 it crashes with a memory message and a
comment about not being able to display the image as it is the wrong format,
even though I am using the same image for each record for testing purposes.
If I try to print the report without previewing it will print 5 pages before
crashing out.
I have read a lot of information about converting the images to .bmp but I
still get the same result when I convert the .jpg to .bmp using image editing
software.
The average size of the .jpg images are about 90kb. Having tried sample
code that has been suggested in previous posts about converting jpg to bmp I
found that the code does not work as it contains 'Private' variable
declarations in event procedures such as
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Private ctr As Long
...and I get a error message informing me that this is illegal.
I have asked this many times in these forums before but is it possible to
have a report that displays / prints more than 25 images. If so how do I go
achieve this.
If you can point me in the right direction I would be most grateful
each record. The images in the report are contained in an image control
along with a text field in the detail section that has the image path as the
control source. So I have the table as the data source for a report that
displays record details along with it's picture.
When I start the report it displays the first page after quite a long time,
I can continue previewing through the report up to about page 7. There are 4
records per page. After page 8 it crashes with a memory message and a
comment about not being able to display the image as it is the wrong format,
even though I am using the same image for each record for testing purposes.
If I try to print the report without previewing it will print 5 pages before
crashing out.
I have read a lot of information about converting the images to .bmp but I
still get the same result when I convert the .jpg to .bmp using image editing
software.
The average size of the .jpg images are about 90kb. Having tried sample
code that has been suggested in previous posts about converting jpg to bmp I
found that the code does not work as it contains 'Private' variable
declarations in event procedures such as
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Private ctr As Long
...and I get a error message informing me that this is illegal.
I have asked this many times in these forums before but is it possible to
have a report that displays / prints more than 25 images. If so how do I go
achieve this.
If you can point me in the right direction I would be most grateful