Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Feb 2011
    Posts
    43
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Problem displaying images in Access 2007

    I’m hoping someone can help throw some light on a problem I have displaying images in an Access 2007 form.

    The images (jpg files) are not stored in the database, only the full file name.

    The images are loaded into the text box using
    Me.txtPhoto.Picture = Me.txtFileName

    This works for most images, but not all. The non displaying image files are not corrupted – they open OK in Windows Photo Viewer. It is not a file size issue as other images larger than the problem ones will display.

    I’d be grateful for any comment or suggestion about this.

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,537
    Thanks
    0
    Thanked 23 Times in 23 Posts
    I had a problem with Access 2007 displaying images on a main form as well as a subform.
    The control used was an image control with the control name set to the path and filename, so there is no need to set the .picture.
    I then put a text box behind the image control and it appears every time,weird but it works.

  4. #3
    Lounger
    Join Date
    Feb 2011
    Posts
    43
    Thanks
    0
    Thanked 6 Times in 6 Posts
    Thanks for the steer. I'll try it and let you know the outcome. But it won't be for a couple of weeks because I've just arrived in Surfers Paradise to thaw out.

  5. #4
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,537
    Thanks
    0
    Thanked 23 Times in 23 Posts
    Enjoy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •