Hyperlink Button

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top