Use Command buttons to open a hyper link stored in an access database

J

Jay

I would like to know how to use a commend button in a from
to access a hyperlink stored in a table
 
J

John Nurick

Hi Jay,

Basically you just use
Application.FollowHyperlink Me.XXX.Value
in the button's Click event Procedure, where XXX is the name of the
control displaying the field containing the URL.

If this is a hyperlink field containing hyperlinks (as against a text
field containing the URL) you may need to use the HyperlinkPart function
to extract the URL from the hyperlink field, something like

Application.FollowHyperlink HyperlinkPart(Me.XXX.Value, acFullAddress)
 
H

Homi

Use the application.followhyperlink function.in your
command buttons onclick ondouble click events....
 

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