Insert Images by Drag and Drop

  • Thread starter Thread starter Phil Micho
  • Start date Start date
P

Phil Micho

I would like to know how a user (once the database is done
and that the user don't have access to the design option
of the form) can add an image in the database....by simply
drag the image from a folder (in Windows) and dragging it
on the Access form (in an unbound image frame). I you get
an idea please let me know because I'm trying to figure
out how I can solve this problem.

Thank
Phil.
 
If you're talking about dropping an image to store in the
database, it's pretty easy. In your table, create a field
that is the OLE Object data type. In your form, add a
bound object frame that has the OLE field from the table
as the Control Source. Then, you can drag-and-drop.
WARNING: Storing images in an Access database is very
inefficient and adds to database bloat. Try creating a
link to the image instead and use an Image box.
 
Can you expand on the link and image box idea. I would
like to display a picture and then the name of the file
and directory under the picture.
 
Back
Top