Results 1 to 7 of 7
  1. #1
    ERBCWH is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2013
    Posts
    3

    images not showing properly in form or report


    Hello all,
    In one of my databases, I have a form and a report where the images stored in my tables are not showing properly for all entries. They show as an icon with the file name rather than the image itself. This is not true for every entry, so I don't think it would be a problem with how the form and report are set-up. Any ideas?
    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    What are the image file types? Are you using an Image control? If you want to provide db for analysis, follow instructions at bottom of my post.
    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
    ERBCWH is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2013
    Posts
    3
    Quote Originally Posted by June7 View Post
    What are the image file types? Are you using an Image control? If you want to provide db for analysis, follow instructions at bottom of my post.
    they are bitmap images and i am using an image control. I will work on getting my file so it can be uploaded.

  4. #4
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180
    Quote Originally Posted by ERBCWH View Post
    This is not true for every entry
    Are they all bmp?
    These should show by default, other file types may not show depending on the Photo Editing programs you have installed on your machine.

    Are you just storing the Image Path and Filename in table or the actual image as an OLE Object as this can bloat the db.

    Can you find an image that isn't working, go to the location of that image and check what filetype it is.

    How are you displaying them on your Forms/Reports?

    --
    Are all Images types associated with 1 Image Editing program?

    Right click on the Image and say "Open with >" then "Choose default program..."
    Click image for larger version. 

Name:	Open With (1).png 
Views:	14 
Size:	14.7 KB 
ID:	12253

    Choose Paint and make sure the "Always use the selected program to open this kind of file" is checked.
    Click image for larger version. 

Name:	Open With (2).png 
Views:	14 
Size:	59.4 KB 
ID:	12254



    If you want to see an in depth course on Images in Access checkout http://599cd.com/site/courselist/seminars/access-imaging/

    --
    Alex Hedley
    TechHelp Team Leader
    599CD.com

  5. #5
    ERBCWH is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2013
    Posts
    3
    Thanks, Alex - all images are bmp files, and all were edited in Paint.

    I am storing the actual image as an OLE object in the database. It hasn't slowed things down in the past, but the problem is only occurring on the newest entries, so could this be a factor?

    All images, including those not showing properly, are bitmaps and are defaulted to open in Paint. The form is simply (on the working ones) showing the image thumbnail, while the report is displaying a small image with every report entry (I have one page per entry, with an image per page). On the report's print preview, those with this problem are simply blank where the image should show.

    Quote Originally Posted by AlexHedley View Post
    Are they all bmp?
    These should show by default, other file types may not show depending on the Photo Editing programs you have installed on your machine.

    Are you just storing the Image Path and Filename in table or the actual image as an OLE Object as this can bloat the db.

    Can you find an image that isn't working, go to the location of that image and check what filetype it is.

    How are you displaying them on your Forms/Reports?

    --
    Are all Images types associated with 1 Image Editing program?

    Right click on the Image and say "Open with >" then "Choose default program..."
    Click image for larger version. 

Name:	Open With (1).png 
Views:	14 
Size:	14.7 KB 
ID:	12253

    Choose Paint and make sure the "Always use the selected program to open this kind of file" is checked.
    Click image for larger version. 

Name:	Open With (2).png 
Views:	14 
Size:	59.4 KB 
ID:	12254



    If you want to see an in depth course on Images in Access checkout http://599cd.com/site/courselist/seminars/access-imaging/

    --
    Alex Hedley
    TechHelp Team Leader
    599CD.com

  6. #6
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180

    images not showing properly in form or report

    That's strange then, I'd assume that if one worked they should all work, if they are the same file type.

    When you added the OLE object did you select the 'Link' and/or 'Display As Icon' options?

    https://www.google.co.uk/search?q=ms...i9X17_G0u0M%3A
    (Sorry for the weird URL, it's a link to the object window)

    --

    Since Access 2007 you can display an Image using the ControlSource property of a Picture set to a filepath/name.

    Here's a FREE Tip http://www.599cd.com/tips/access/ima...?key=AlexForum

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I have never used the OLEObject controls for dynamic display of images with records. I have never stored images in an OLEObject field in table. I have used attachment field to store images and then dynamically display in an Image control. Have also linked Image control to external 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: 4
    Last Post: 12-14-2012, 03:42 PM
  2. Report not showing properly
    By ashu.doc in forum Reports
    Replies: 7
    Last Post: 10-08-2012, 07:27 AM
  3. Report does not update properly
    By Tari in forum Reports
    Replies: 7
    Last Post: 03-08-2011, 05:20 PM
  4. Replies: 0
    Last Post: 10-11-2010, 02:40 AM
  5. Replies: 17
    Last Post: 08-26-2009, 11:27 AM

Tags for this Thread

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