hi guys.
i am trying to add a button that will delete a link containing the image link into a table.
i am getting a debug error when a click on it.
Run-time error '2110':
Microsoft Office Access can't move focus to the control Link.
Private Sub cmdDeleteImage_Click()
Me![Link].Enabled = True
Me![Link].SetFocus <-----error is here at first.
Me![Link].Locked = False
Me![Link].Text = ""
Me![Link].SetFocus
Forms![Employee Table].Form.Requery
Me![Link].Locked = True
Me![Link].Enabled = False
End Sub
hope i can solved it.