Insert OLE Object PICTURE in MS Access Dbase

Hello, My issue is I have created a VB Script for MS Access 2007 that inserts values automatically in a MS Access table. The issue is one of the fields are a OLE Object "Picture" How do I insert that object everytime the loop goes through it's process of inserting records in each of the other fields?

Thanks,
Jeff
jseaman12Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hbustanCommented:
Check out the link below:

http://www.thescripts.com/forum/thread508823.html

This is assuming the pictures are located as files on your hard disk.
0
Jeffrey CoachmanMIS LiasonCommented:
jseaman12,

Just remember that "storing" images in your DB will caues it to bloat enormously.

BLOBS do a fairly good job of keeping the size down, but as long as you need the picture "displayed" on the form with every record, the DB will bloat.
Even for linked images, Access stores a BMP file internally (Even if it's a jpg, because BMP is the MS format Access uses for displaying images).

Another option is to use a utility recommended by another expert here, DatabaseMX, http://www.ammara.com/
You can DL the trial, and it may even have a utility to do the "Insert" you are asking for.

Hope this helps as well

JeffCoachman
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.