command button to insert hyperlink

J

johnlute

I have a subform for hyperlinks. It's used as a means of "attaching"
many files to one record. Is there a way to code a button to insert a
hyperlink rather than selecting insert hyperlink from the menu bar?

Thanks!
 
T

Tom van Stiphout

On Sat, 26 Sep 2009 08:03:50 -0700 (PDT), johnlute

Pretty much anything you can do with the menu system you can do with
RunCommand. In your example:
RunCommand acCmdInsertHyperlink

-Tom.
Microsoft Access MVP
 
J

johnlute

Thanks, Tom!

I gave that a whirl and it errors: The command or action
'InsertHyperlink' isn't available now. I'm running 2003. I'm wondering
if I need a WHERE statement? My subform is in Continuous Forms view ad
I'm trying to insert a hyperlink into [ProfilesAttachments]...?
 

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

Top