Hyperlink Button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all
I have a form which contains a field for a hyperlink. The user should be
able to edit the hyperlink by pressing the avaliable button. The following
code is then started:
Me!photo1.SetFocus
RunCommand acCmdEditHyperlink

This is only an extract, when I try to run this I get the error 2046,
command not avaliable. Can someone help me get this on track. If you need
more of the code I can post it.
Thanks
 
Looks like I found my problem. Whilst in design mode the code would not work.
When I restarted the database not in edit mode the button works fine - lesson
learnt.
Thanks
 
Back
Top