Using MS Access/Images not displaying

Advertisement


Sue wrote at 2014-02-26 10:20:14
Further information to my initial email re images not displaying .....my setup is as follows.... I have a tabbed form which is part of a navigation form and one of the forms on the tabbed form contains an image (ParticipantImage) and a txt field (ParticipantPhotoLocation) that contains network path and file name for image for each client.



I have some code attached to 'On current' of this form that states the following:



Private Sub Form_Current()

  If Not IsNull(Me.ParticipantPhotoLocation) Then

    Me.ParticipantImage.Picture = Me.ParticipantPhotoLocation

  Else

    Me.ParticipantPhotoLocation = "S:DSSGeneralClientsClientPhotosdatabasephotosDefaultphoto.jpg"

  End If

End Sub



My issue is that all other users that share this database (split database) can see the images as they should appear but I cannot - space where image should be is blank.  I am the only person who modifies the DB in any way.  The path is correct. If it wasn't no one else would be able to see images.




Sue wrote at 2014-03-04 07:23:16
Hi Scott



I stumbled across the answer to my issue with images not displaying......I checked the trusted location settings and cleared the existing settings and re-established the directory and images reappeared....happy to have the answer.  Still not quite sure why everyone else was ok except me but....at the end of the day I am happy with the result.




Using MS Access

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scottgem

Expertise

I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.

Experience

I've been designing databases for over 25 years working with dBase, FoxPro, Approach and Access.

Organizations
Author of Microsoft Office Access 2007 VBA
Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing

Education/Credentials
Brooklyn College BA

©2016 About.com. All rights reserved.