Error

peterbowles

Registered User.
Local time
Today, 02:14
Joined
Oct 11, 2002
Messages
163
I have a from that stores details of students. Also is an Image path dtored in one of the fields which when the form is updated changes the picture to correspond with the record.

I the field does not contain an image path I get an error message.

Can I make it so that is there is no Image path stored in the field the Unbound picture frame will display text such as
" no picture "

This is the code i use so far

Private Sub Text23_GotFocus()


Me![ImageFrame].Picture = Me![Photo]


End Sub

Thanks in advance for any help
 

Users who are viewing this thread

Back
Top Bottom