Opening browser window from button click

  • Thread starter Thread starter Andy G
  • Start date Start date
A

Andy G

Is it possible to open a browser window with a click of a button and send it
to the desired URL? If it is possible, what is some example code that
performs this operation?

Thanks.
 
Andy,

Where is the "desired URL" coming from? If it's data which is shown on
the form, one option is to change the Data Type of the field in table
design to Hyperlink. Then you can just click the form control
containing the URL.

Otherwise, you can use this code on your command button's Click event...
Application.FollowHyperlink Me.MyURL
 

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

Back
Top