mtagliaferri
Registered User.
- Local time
- Today, 21:23
- Joined
- Jul 16, 2006
- Messages
- 550
Hi I have a code I have got from the samples for adding a picture to a form, when I run the code it give me a error as "SUB OR FUNCTION NOT DEFINED"
My code is as following :
Can you give some help
My code is as following :
Code:
Private Sub CmdAdd_Click()
On Error GoTo err_cmdAdd
Me![txtPicture] = GetOpenFile_CLT("C:\", "Select the File")
Me![txtPicture] = LCase(Me![txtPicture])
Me!Picture.Picture = Me!txtPicture
exit_cmdAdd:
Exit Sub
err_cmdAdd:
MsgBox Error$
Resume exit_cmdAdd
End Sub
Can you give some help