Access 2002 Picture Form Question

  • Thread starter Thread starter John
  • Start date Start date
J

John

Sorry I posted this in the database design instead of
here Please Forgive!!!



I have a access database and want to create another form
and on this form I want to scan pictures in to a file
from my scanner and then display the picture or
pictures for each record (these are land sites) that will
be associated with a number to keep separate. I want to
be able to display the same picture that goes with the
incident # for that land site on the form when entering a
new record some times we have 4 pics . I have viewed the
example in the Northwind Database it works but I can t
get it to work on my system) How do I create this report
I found the MS. Article knb. 210100 How to display an
Image from a folder in a form .anyway can I do this
without creating a whole new table..and what is the code
to go into the OnFormat event?? Can you give me a few
different form examples showing this ??


Thanks in advance
Boomer
 
The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects. They will not
answer all your questions, but will demonstrate the code (in the Forms'
OnCurrent) similar to that you'd use in the Report's OnPrint (more efficient
than putting it in OnFormat) event.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.
 
Back
Top