I have a form with an image control that changes for each record from a table, images linked not stored. I can't get the code to work in a command button to open the Office File Open dialog. I want to be able to change the picture from the form.
Using
Using
in the on-click of the command button I get a getFileName compile error.Private Sub AddPicture_Click()
' Use the Office File Open dialog to get a file name to use
' as an employee picture.
getFileName
End Sub