Copy of e-mail w/o attachment in response to Karen's request for
sample database:
=====================================================
Dear Karen,
Un-zip the attachment specifying "c:\". The results will be a folder
entitled c:\RSmith, as the path was included when the sample files were
zipped.
Open the mdb in the RSmith folder and preview the only report in the
database. You'll see how the pictures are inserted into the report as each
individual in the database is processed. After you've done that and see the
results,
look in the code-sheet of the report to see the function that retrieves the
picture ID from the data base and changes the file link in the control.
I've never even experimented with storing images in an Access database, as
their use would become so restricted as to render them useless in most of
the things I do with images... like what image display editing application
would be able to open them?
As long as we're on the subject, be very careful when it comes to images in
a database. Except in rare cases, you want to avoid "embedding". All the
rendering code necessary to display them in reports and/or forms gets
included in your database and its size can explode!
Regards,
Bill
(PS) Post back in the forum with how you make out with the sample database
that others might benefit.
cc: microsoft.public.access.formscoding w/o attachment
=====================================================