Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

saving an image in the Access??

Status
Not open for further replies.

qajussi

Programmer
Mar 22, 2004
236
US
Hi!

I am trying to understand how the image gets saved.
I have a table and a form for the image.
How does this work??

TblPhoto
ID autonum
Photo OLE object

Form
to paste the image.
say i paste an image called dog.jpg on the form.

How does this get saved??

does table have name of image or actual image??
how does it look in the table??
Thanks.


 
Check out thread
thread181-1065310
...there's some code the guy there uses...I haven't looked it over but it looks like the basic idea that I've used in the past--AppendChunk.

It's less complex however to store only file paths in a simple table, and use the loadpicture method with the file path to load a picture box. This has other disadvantages, but it's simpler to code.
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top