command button for website

B

BigK9

I want to put a command button on a form that will take the user to a
specific website and then when the user closes that site, it returns to the
form. How do I do this?
 
B

BigK9

I agree.........but, I'm a novice to this. How do I code the hyperlink to
get to a specific web site? I know how to put a hyperlink into the table and
then on the form. But not where to go from there.
 
D

Debbie S.

If this is an existing web site, all you need to do is the following:

Go into your form in design view.
Open the tool box icon. Choose the button that looks like "Aa" (this makes a
label).
Click on the form where you want the label.
In the label's property sheet on the format tab, put the address of the web
site in "caption" and also right below that property in "hyperlink address".

When you go to form view, you should see the hyperlink and be able to click
on it like any other hyperlink. Just make sure you put the right web site
address.
I hope this helps.
 
D

Debbie S.

I just reread your post. If you have already put the hyperlink in the table
and then in the form, you can do the following:

In form view, Right click on the text box containing the hyperlink.
Scroll to "edit hyperlink."
At the bottom of the dialog box that opens, there is a place where you can
type the web site address that you want for that hyperlink. At the top of the
dialog box there is a place where you can type whatever display text you
want. So your display text might read: click here to go to xyz website, and
because you typed in the address of the site in the address box of the dialog
box, it will go to that web site when the user clicks on it.

Debbie
 
Top