Guy said:
What is the coding to load a picture from a table in the current database
into a form's Picture property?
Something like the following although that is for an image control
named PhotoImage
If <logic if file available to view> Then
Me.PhotoImage.Picture = PhotoFilePath
Else
Me.PhotoImage.Picture = ""
End If
For a form replace me PhotoImage with Picture.
However I wouldn't do this unless on a menu. Even then I would leave
the picture separately. With a busy background users will have
trouble locating fields or the mouse pointer.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog -
http://msmvps.com/blogs/access/