I couldn't get your link to show any photos. The form comes up but there was not a photo. Here is what is in my form "on-current" Private Sub Form_Current() ' Display the picture for the current employee record if the image ' exists. If the file name no longer exists or the file name was blank ' for the current employee, set the errormsg label caption to the ' appropriate
A full demo of how to do this is at my website: http://www.datastrat.com/Download/Picture2K.zip -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Cindy" <Cindy@discussions.microsoft.com> wrote in message news:8AB58C09-D1FE-4887-B1F8-2F4339CCD464@microsoft.com... Not familar with code, so at a loss, but I put in Me![ImageFrame
I double click on the form in the upper most left corner square and it opens the form box, I scrolled down to "on current" then hit the box with the ... and entered the text into the "Private Sub Form_Current()" area. If that is wrong, how do I get to the right place? "boblarson" wrote: Did you actually type it in to the code window - VBA IDE (Integrated Development Environment)?
Not familar with code, so at a loss, but I put in Me![ImageFrame].Picture = Me![Photo] Now when I open the form I have a picture, but it does not change and I am getting a runtime error 2220, that states, "Microsoft Access is unable to open the path, h:\gmaa\photo...and it proceeds to give the correct path that I need for that photo. You can hit "end" and go to the next file and the path