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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image control to table

Status
Not open for further replies.

krymat

Technical User
Jul 25, 2000
105
How can I copy the image in an image control to a table.
 
It sounds like you want a picture for each record in your database, right? What you want, then, is an OLE field in your table, call it "Picture" or whatever. Then just bind that field to the bound image frame in your form.

But when you insert a picture into your form like that, the actual picture won't show up in the table. Instead, you'll see the name of the program you use to open pictures, like "ACDSee Image" or whatever.
 
Actually what I have is a bit of code that copies screen captures to an image control, what I want is to copy the picture from the image control to an OLE field in a table.
 
Is there any way you can use a bound object frame instead of an image control? Then it's easy to bind to an OLE field in a table...

If not, I'm not sure what else you can try. Anybody else? :)
 
no, an image control is the only thing this function will write to
 
Snoopy
the link below has a sample db of a bound image frame to display bit map images. The process will bloat your database, but it does demostrate how to work with images in your database.

HTH

email: ToeShot@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top