• Problem displaying images in Access 2007

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Problem displaying images in Access 2007

    Author
    Topic
    #484495

    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.

    Viewing 2 reply threads
    Author
    Replies
    • #1342307

      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.

    • #1342853

      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.

    • #1342993

      Enjoy

    Viewing 2 reply threads
    Reply To: Problem displaying images in Access 2007

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: