SteveClarkson
Registered User.
- Local time
- Today, 07:16
- Joined
- Feb 1, 2003
- Messages
- 439
Hello,
I have a picture frame in one of my forms that the user can add a picture to if they desire. However, is there a way of making it display a "default" picture if there is no picture defined?
The code is:
Could I just put the path to a default picture in the
bit???
Thanks!
I have a picture frame in one of my forms that the user can add a picture to if they desire. However, is there a way of making it display a "default" picture if there is no picture defined?
The code is:
Code:
If Not IsNull([PicFile]) Then
[imgPicture].Picture = [PicFile]
SysCmd acSysCmdSetStatus, "Image: '" & [PicFile] & "'."
Else
[imgPicture].Picture = ""
SysCmd acSysCmdClearStatus
End If
Exit Sub
Could I just put the path to a default picture in the
Code:
Else
[imgPicture].Picture = ""
Thanks!