By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,485 Members | 1,804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,485 IT Pros & Developers. It's quick & easy.

Help- How do I insert objects in a table in bulk?

P: n/a

Can anyone help.

I would like to create a table that contains references to a series of
JPG files, so that I can view each image and related data in a form,
page by page. It seems that the only way to insert the reference to the
image is using the "Insert Image" dialog box, and with my long list of
images, I'll be old & gray by the time I am done. What I really want to
do is type in the list of filenames (or cut&paste), and have them
interpreted as links to ole objects. Is this possible?, or has Bill
Gates condemned us to dialog box purgatory?

Paul

ep*@mail.med.upenn.edu


Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You have to set up the OLE type information
as well as providing the filenames.

AFAIK, the easiest way to do this is to use
an Append Query to copy an existing record
to a new record.

Then just change the file linked/embedded in the new object.

(david)
"E. Paul Wileyto" <ep*@mail.med.upenn.edu> wrote in message
news:dk***********@netnews.upenn.edu...

Can anyone help.

I would like to create a table that contains references to a series of JPG
files, so that I can view each image and related data in a form, page by
page. It seems that the only way to insert the reference to the image is
using the "Insert Image" dialog box, and with my long list of images, I'll
be old & gray by the time I am done. What I really want to do is type in
the list of filenames (or cut&paste), and have them interpreted as links
to ole objects. Is this possible?, or has Bill Gates condemned us to
dialog box purgatory?

Paul

ep*@mail.med.upenn.edu

Nov 13 '05 #2

P: n/a
"E. Paul Wileyto" wrote
Can anyone help.
Possibly.
I would like to create a table that contains
references to a series of JPG files, so that I
can view each image and related data in a form,
page by page.
OK, I think I understand what you need.
It seems that the only way to insert the
reference to the image is using the "Insert
Image" dialog box, and with my long list of
images, I'll be old & gray by the time I am
done. What I really want to do is type in
the list of filenames (or cut&paste), and have
them interpreted as links to ole objects.
Is this possible?
It is possible that the later-referenced downloads may illustrate, not only
what you ask, but some alternative methods of displaying the images.
or has Bill Gates condemned us to
dialog box purgatory?


We have heard that Bill Gates was "an advocate of Access" but not that he
personally architected, designed, or implemented it. So I would say, in any
case, the answer to this question is "No. Even if you are condemned to
'dialog box purgatory', Bill Gates is not the one who pronounced sentence
upon you."

Now to the part that may actually be of some help:

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.

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.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.