PC Review


Reply
Thread Tools Rate Thread

displaying images in report

 
 
=?Utf-8?B?YmlnIGQ=?=
Guest
Posts: n/a
 
      11th Feb 2005
i made a product catalog in access which has 79 pages with roughly 18 images
per page for a total of 1190 images to be displayed. i used the following
code which i saw in a previous post:

Private Sub Detail_Format (Cancel As Integer, FormatCount As Integer)
Me![Imageframe].picture = Me![Imagepath]
End Sub

the code works fine but i noticed that if i try to print (for example) the
last 10 pages, access will format all of the previous pages before getting to
the pages i want to print. also, when i try printing a whole catalog i end
up running low on virtual memory.

is there any solution for this other than increasing computer memory?
 
Reply With Quote
 
 
 
 
Stephen Lebans
Guest
Posts: n/a
 
      11th Feb 2005
You need to place your code behind the Print event not the Format event.

--

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


"big d" <big (E-Mail Removed)> wrote in message
news:EFBA6ADC-DB84-423A-833A-(E-Mail Removed)...
> i made a product catalog in access which has 79 pages with roughly 18

images
> per page for a total of 1190 images to be displayed. i used the

following
> code which i saw in a previous post:
>
> Private Sub Detail_Format (Cancel As Integer, FormatCount As Integer)
> Me![Imageframe].picture = Me![Imagepath]
> End Sub
>
> the code works fine but i noticed that if i try to print (for example)

the
> last 10 pages, access will format all of the previous pages before

getting to
> the pages i want to print. also, when i try printing a whole catalog

i end
> up running low on virtual memory.
>
> is there any solution for this other than increasing computer memory?


 
Reply With Quote
 
=?Utf-8?B?YmlnIGQ=?=
Guest
Posts: n/a
 
      12th Feb 2005
i just tried but still ran out of memory. i also tried the createbitmapfile
trick and ran out of memory as well.

"Stephen Lebans" wrote:

> You need to place your code behind the Print event not the Format event.
>
> --
>
> HTH
> Stephen Lebans
> http://www.lebans.com
> Access Code, Tips and Tricks
> Please respond only to the newsgroups so everyone can benefit.
>
>
> "big d" <big (E-Mail Removed)> wrote in message
> news:EFBA6ADC-DB84-423A-833A-(E-Mail Removed)...
> > i made a product catalog in access which has 79 pages with roughly 18

> images
> > per page for a total of 1190 images to be displayed. i used the

> following
> > code which i saw in a previous post:
> >
> > Private Sub Detail_Format (Cancel As Integer, FormatCount As Integer)
> > Me![Imageframe].picture = Me![Imagepath]
> > End Sub
> >
> > the code works fine but i noticed that if i try to print (for example)

> the
> > last 10 pages, access will format all of the previous pages before

> getting to
> > the pages i want to print. also, when i try printing a whole catalog

> i end
> > up running low on virtual memory.
> >
> > is there any solution for this other than increasing computer memory?

>
>

 
Reply With Quote
 
Stephen Lebans
Guest
Posts: n/a
 
      12th Feb 2005
I can create a 1000 page report here but there are only 3 images per
page. Perhaps you are running into a memory per page issue.


What version of Access and WIndows are you running?

What is the exact error message that is generated?

--

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


"big d" <(E-Mail Removed)> wrote in message
news:73B60B4E-84E1-4F34-B42C-(E-Mail Removed)...
> i just tried but still ran out of memory. i also tried the

createbitmapfile
> trick and ran out of memory as well.
>
> "Stephen Lebans" wrote:
>
> > You need to place your code behind the Print event not the Format

event.
> >
> > --
> >
> > HTH
> > Stephen Lebans
> > http://www.lebans.com
> > Access Code, Tips and Tricks
> > Please respond only to the newsgroups so everyone can benefit.
> >
> >
> > "big d" <big (E-Mail Removed)> wrote in message
> > news:EFBA6ADC-DB84-423A-833A-(E-Mail Removed)...
> > > i made a product catalog in access which has 79 pages with roughly

18
> > images
> > > per page for a total of 1190 images to be displayed. i used the

> > following
> > > code which i saw in a previous post:
> > >
> > > Private Sub Detail_Format (Cancel As Integer, FormatCount As

Integer)
> > > Me![Imageframe].picture = Me![Imagepath]
> > > End Sub
> > >
> > > the code works fine but i noticed that if i try to print (for

example)
> > the
> > > last 10 pages, access will format all of the previous pages before

> > getting to
> > > the pages i want to print. also, when i try printing a whole

catalog
> > i end
> > > up running low on virtual memory.
> > >
> > > is there any solution for this other than increasing computer

memory?
> >
> >


 
Reply With Quote
 
=?Utf-8?B?YmlnIGQ=?=
Guest
Posts: n/a
 
      16th Feb 2005
Sorry for the late response. I currently have Access 2000 running on Windows
2000 with about 512MB of memory.

The message reads:

There isn't enough free memory to update the display. Close unneeded
programs and try again.




"Stephen Lebans" wrote:

> I can create a 1000 page report here but there are only 3 images per
> page. Perhaps you are running into a memory per page issue.
>
>
> What version of Access and WIndows are you running?
>
> What is the exact error message that is generated?
>
> --
>
> HTH
> Stephen Lebans
> http://www.lebans.com
> Access Code, Tips and Tricks
> Please respond only to the newsgroups so everyone can benefit.
>
>
> "big d" <(E-Mail Removed)> wrote in message
> news:73B60B4E-84E1-4F34-B42C-(E-Mail Removed)...
> > i just tried but still ran out of memory. i also tried the

> createbitmapfile
> > trick and ran out of memory as well.
> >
> > "Stephen Lebans" wrote:
> >
> > > You need to place your code behind the Print event not the Format

> event.
> > >
> > > --
> > >
> > > HTH
> > > Stephen Lebans
> > > http://www.lebans.com
> > > Access Code, Tips and Tricks
> > > Please respond only to the newsgroups so everyone can benefit.
> > >
> > >
> > > "big d" <big (E-Mail Removed)> wrote in message
> > > news:EFBA6ADC-DB84-423A-833A-(E-Mail Removed)...
> > > > i made a product catalog in access which has 79 pages with roughly

> 18
> > > images
> > > > per page for a total of 1190 images to be displayed. i used the
> > > following
> > > > code which i saw in a previous post:
> > > >
> > > > Private Sub Detail_Format (Cancel As Integer, FormatCount As

> Integer)
> > > > Me![Imageframe].picture = Me![Imagepath]
> > > > End Sub
> > > >
> > > > the code works fine but i noticed that if i try to print (for

> example)
> > > the
> > > > last 10 pages, access will format all of the previous pages before
> > > getting to
> > > > the pages i want to print. also, when i try printing a whole

> catalog
> > > i end
> > > > up running low on virtual memory.
> > > >
> > > > is there any solution for this other than increasing computer

> memory?
> > >
> > >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying gif images in a report DaveF Microsoft Access 5 23rd Mar 2010 11:12 AM
Displaying Images in a Report =?Utf-8?B?UlRQ?= Microsoft Access 2 21st Jan 2005 05:54 PM
Displaying Images in REPORT Kevin B. Microsoft Access Reports 1 10th Jan 2005 03:43 PM
Displaying Images in REPORT Kevin B. Microsoft Access 1 10th Jan 2005 03:43 PM
Displaying Images in REPORT Kevin B. Microsoft Access Forms 1 10th Jan 2005 03:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:26 AM.