Multi-image form

  • Thread starter Thread starter Larry Linson
  • Start date Start date
L

Larry Linson

No, that's basically the way continuous forms view works -- there is only
one copy of the detail section, all the others are just painted on the
screen showing the data to which the control is bound in each record, but
when you make a change to a control (or put a value in an unbound control)
it applies to each record.

If this does not have to be interactive, you might do it with a report.
Report records are processed individually and reports' detail sections don't
have the restrictions of continuous forms view forms.

Larry Linson
Microsoft Access MVP
 
I have an image database with about 700 images but growing, where I display
the images on a form using the file path with simple code as follows called
in the Current Event for the form:

ImagePath = CurrentProject.Path & "\" & Me!FileName.Value
Me!Image.Picture = ImagePath

This works nicely and I am having no problems but I decided today that it
would be nice to be able to display multiple thumbnail images from a search
on a single form. I tried similar code with a continuous form but what I am
getting is the same image displayed on each record. If I click in a new
record. the image for that record mult-displays. Has anybody got a simple
solution for this or does it require complex coding?

Help gratefully received.
 
Mick said:
Many thanks for the reply Larry. I'll have a go with a report instead.

If your images are not in .BMP format, see MVP Stephen Lebans' site,
http://www.lebans.com . Here's what Stephen wrote to me:

"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."

Best of luck with your report...

Larry Linson, Microsoft Access MVP
 
Back
Top