sladetroityer
Registered User.
- Local time
- Today, 15:30
- Joined
- Oct 26, 2011
- Messages
- 149
Is it possible to add a true or false statement to the coding for this? Currently, if Access can't find the individual's picture in the folder that the path is pointing to it displays the last picture that was found. Can I add a true/false statement that tells Access if file not found open default "NO Image.jpg"?
This is the current code:
This is the current code:
Code:
Private Sub Form_Current()
On Error Resume Next
Me![imgImageFrame].Picture = Me![strImagePath]
End Sub
Private Sub strImagePath_AfterUpdate()
On Error Resume Next
Me![imgImageFrame].Picture = Me![strImagePath]
End Sub
[Code/]