Results 1 to 6 of 6
  1. #1
    munroe47 is offline Novice
    Windows XP Access 2002
    Join Date
    Mar 2012
    Location
    Oregon
    Posts
    11

    Displaying bound images in a form

    I am a stamp collector and have created an Access database of US stamps. Each record contains pertinent info about each stamp (year of issue, denomination, etc.) I would also like to include an image of each stamp in each respective record and display that image on the form that displays all the other data associated with the stamp.



    In trying to do this, I created an OLE object field in the table. I created a bound object frame in the appropriate form and dragged the OLE object field into that frame. I inserted the stamp image (which is a .JPEG file) into the OLE object field. After I have inserted the image/object, the frame displays the file name of the image but not the image itself. If I double-click on the frame, another window opens and the stamp image is displayed in that window. I prefer to have the image displayed as part of the form without having to open a second window to view it? I understand the difference between linked and embedded objects, and I set this up specifically to be an embedded object because I didn't want to have to click on a link.

    I'm not a Visual Basic programmer yet; I have used the wizards to create all the macros, queries, buttons, pick lists, and other bells and whistles that I use to find and view my data. Any guidance on this image issue would be greatly appreciated!

    Thanks, Munroe47

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Access versions prior to 2007 need code to dynamically display images. Review
    http://office.microsoft.com/en-us/ac...001147204.aspx
    http://www.databasedev.co.uk/bound_image_form.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    munroe47 is offline Novice
    Windows XP Access 2002
    Join Date
    Mar 2012
    Location
    Oregon
    Posts
    11
    Quote Originally Posted by June7 View Post
    Access versions prior to 2007 need code to dynamically display images. Review
    http://office.microsoft.com/en-us/ac...001147204.aspx
    http://www.databasedev.co.uk/bound_image_form.html
    Thank you. I have glanced over the links you gave, and I am sure that after I read them carefully, I will be able to resolve my issue.

    In looking over those links and other comments on the forum, I'm thinking I'll probably be better off storing the images elsewhere and linking them to the form rather than embedding them and possibly "bloating" the .mdb file (there will be 2000+ images). If I link rather than embed the images, will I still be able to dynamically display them on the form?

    Thanks again, munroe47

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, instead of the image store the path to the image. At least one of those links describe that .
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    bobbrewermmc is offline Novice
    Windows Vista Access 2007
    Join Date
    Jul 2012
    Posts
    1
    I have Access 2007. I would like to store the actual picture in an OLE field in a table -- I can store a bitmap without difficulty -- but the jpeg only stores the link -- I have about 400 jpegs that I would like to store in OLE fields -- can it be done? Thanks bobbrewermmc

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    No, I think OLE field type is specific to bitmap. Use Attachment field and an Image control to display the images.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 02-13-2012, 06:18 AM
  2. Bound form with bound combobox
    By Jerry8989 in forum Access
    Replies: 2
    Last Post: 12-05-2011, 01:50 PM
  3. Replies: 0
    Last Post: 05-09-2010, 08:43 AM
  4. Replies: 17
    Last Post: 08-26-2009, 11:27 AM
  5. Displaying images from another folder
    By w3leon in forum Access
    Replies: 0
    Last Post: 01-30-2009, 06:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums