- Open a form, a report, or a data access page in Design view.
- On a form or report, click the Image tool in the toolbox. On a data access page, click the Image Hyperlink tool .
- Click where you want to create the picture.
- In the Insert Picture dialog box, locate the picture that you want to use, and then click OK.
Access adds an image control to the form or report.
Note If you are creating an Image Hyperlink on a data access page, skip to step 6.
- On the form or report, make sure that the image control is selected, and then click Properties on the toolbar to open the property sheet for the control.
- In the HyperlinkAddress property, click the Build button to open the Insert Hyperlink dialog box.
- In the Insert Hyperlink dialog box, click Existing file or Web page under Link to.
- Click ScreenTip, and type the text that you want to appear when the user rests the pointer on the hyperlink. If you leave the ScreenTip text box blank, Access will display the hyperlink address and/or subaddress as the ScreenTip.
-
In the Address box, type a path or a URL.
-
Click Current Folder, Browsed Pages, or Recent Files, and then click an item from the list. If you click Current Folder and don't see the object you want, select a different folder from the Look in box.
Note To go to a specific location in an HTML file or to an object in the current Microsoft Access database (.mdb) or Microsoft Access project (.adp), click Bookmark. Click the bookmark or object you want in the list, and then click OK.
To test the link on a form or report, right-click the picture, point to Hyperlink on the shortcut menu, and click Open.
To test the link on a page, switch to Page view and click the picture.
Create a new data access page and a picture that's a hyperlink to that page
- Open a form, a report, or a data access page in Design view.
- On a form or report, click the Image tool in the toolbox. On a page, click the Image Hyperlink tool .
- Click where you want to create the picture.
- In the Insert Picture dialog box, locate the picture that you want to use, and then click OK.
Access adds an image control to the form or report.
Note If you are creating an Image Hyperlink on a data access page, skip to step 6.
- On the form or report, make sure that the image control is selected, and then click Properties on the toolbar to open the property sheet for the control.
- In the HyperlinkAddress property, click the Build button to open the Insert Hyperlink dialog box.
- In the Insert Hyperlink dialog box, click Create new page under Link to.
- Click ScreenTip, and type the text you want to appear when the user rests the pointer on the hyperlink. If you leave the ScreenTip text box blank, Access will display the hyperlink address and/or subaddress as the ScreenTip.
- In the Name of new document box, type a name for the new data access page.
You can create a different type of document, for example, a Word file (.doc) or an Excel spreadsheet (.xls), by typing the three-letter file extension for the type of file that you want to create. However, you can't create a Microsoft Access database (.mdb) or a Microsoft Access project (.adp).
- Access creates the new document in the current folder. To specify a different location, click Change.
- Select an option under When to edit. You can edit the new document immediately or wait until later.
To test the link on a form or report, right-click the picture, point to Hyperlink on the shortcut menu, and then click Open.
To test the link on a data access page, switch to Page view and click the picture.
Create a hyperlink between two data access pages
- Open a data access page in Design view.
- Click the Image Hyperlink tool in the toolbox, and then click where you want to create the picture.
- In the Insert Picture dialog box, locate the picture that you want to use, and then click OK.
- In the Insert Hyperlink dialog box, click Page in this database under Link to.
- Click ScreenTip, and type the text you want to appear when the user rests the pointer on the hyperlink. If you leave the ScreenTip text box blank, Access will display the hyperlink address as the ScreenTip.
- From the list, select the page that you want to link to.
- To create a filter for the page, type an expression in the form of a WHERE clause in the Filter criteria for the data access page box. For example, to open the second page, which displays the records for the employee ID that is shown on the first page, type EmployeeID=[EmployeeID].
Access adds the hyperlink to the data access page. To test the link, switch to Page view and click the hyperlink. Access opens the target page in your Web browser.
Create a hyperlink to an object in the current database
- Open a form or a report in Design view.
- Click the Image tool in the toolbox, and then click where you want to create the picture.
- In the Insert Picture dialog box, locate the picture you want to use, and then click OK.
Access adds an image control to the form or report.
- Make sure that the image control is selected, and then click Properties on the toolbar to open the property sheet for the control.
- In the HyperlinkAddress property, click the Build button to open the Insert Hyperlink dialog box.
- In the Insert Hyperlink dialog box, click Object in this database under Link to.
- Click ScreenTip, and type the text you want to appear when the user rests the pointer on the hyperlink. If you leave the ScreenTip text box blank, Access will display the object name as the ScreenTip.
- From the list, select the database object that you want to link to.
To test the link, right-click the picture, point to Hyperlink on the shortcut menu, and then click Open.
Note To link to an object in another database, select the desired database file and then click Bookmark to list the objects within that database.
Create a picture that creates an e-mail message when clicked
- Open a form, a report, or a data access page in Design view.
- On a form or report, click the Image tool in the toolbox. On a data access page, click the Image Hyperlink tool .
- Click where you want to create the picture.
- In the Insert Picture dialog box, locate the picture that you want to use, and then click OK.
Access adds an image control to the form or report.
Note If you are creating an Image Hyperlink on a data access page, skip to step 6.
- On the form or report, make sure the image control is selected, and then click Properties on the toolbar to open the property sheet for the control.
- In the HyperlinkAddress property, click the Build button to open the Insert Hyperlink dialog box.
- In the Insert Hyperlink dialog box, click E-mail address under Link to.
- Click ScreenTip, and type the text you want to appear when the user rests the pointer on the hyperlink. If you leave the ScreenTip text box blank, Access will display the e-mail address as the ScreenTip.
- In the E-mail address box, type an e-mail address. You can also select an address from the Recently used e-mail addresses list.
- In the Subject box, type the information that you want to appear in the Subject field of the e-mail message.
Note Some Web browsers and e-mail programs might not recognize the subject line.
To test the link in a form or report, right-click the picture, point to Hyperlink on the shortcut menu, and then click Open.
To test the link on a data access page, switch to Page view and click the picture. Access opens your mail program and creates a new message, with the address and subject filled in.
By using a command button
Create a hyperlink to an existing file or Web page
- Open a form in Design view.
- If the Control Wizards tool in the toolbox is selected, click it to turn off the Control Wizard.
- In the toolbox, click the Command Button tool .
- On the form, click where you want to place the command button.
- Make sure the command button is selected, and then click Properties on the toolbar to open the property sheet for the command button.
- In the HyperlinkAddress property, click the Build button .
- In the Insert Hyperlink dialog box, click Existing File or Web Page under Link to.
- In the Text to display box, type the display text for the hyperlink. Access automatically displays the value of the command button's Caption property in the box.
- Click ScreenTip, and type the text you want to appear when the user rests the mouse pointer on the hyperlink. If you leave the ScreenTip text box blank, Access displays the hyperlink address (and subaddress) as the ScreenTip.
-
In the Address box, type a path or a URL.
-
Click Current Folder, Browsed Pages, or Recent Files, and then click an item from the list. If you click Current Folder and don't see the object you want, select a different folder from the Look in box.
Note To go to a specific location in an HTML file or to an object in the current Microsoft Access database (.mdb) or Microsoft Access project (.adp), click Bookmark. Click the bookmark or object you want in the list, and then click OK.
To test the link, right-click the command button, point to Hyperlink on the shortcut menu, and then click Open.
Create a new data access page and a command button that's a hyperlink to that page
- Open a form in Design view.
- If the Control Wizards tool in the toolbox is selected, click it to turn off the Control Wizard.
- In the toolbox, click the Command Button tool .
- On the form, click where you want to place the command button.
- Make sure the command button is selected, and then click Properties on the toolbar to open the property sheet for the command button.
- In the HyperlinkAddress property, click the Build button .
- In the Insert Hyperlink dialog box, click Create New Page under Link to.
- In the Text to display box, type the display text for the hyperlink. Access automatically displays the value of the command button's Caption property in the box.
- Click ScreenTip, and type the text you want to appear when the user rests the mouse pointer on the hyperlink. If you leave the ScreenTip text box blank, Access displays the hyperlink address as the ScreenTip.
- In the Name of new document box, type a name for the page.
You can create a different type of document, for example, a Word file (.doc) or an Excel spreadsheet (.xls), by typing the three-letter file extension for the type of file you want to create. However, you can't create a Microsoft Access database (.mdb) or a Microsoft Access project (.adp).
- Access creates the new page in the current folder. To specify a different location, click Change.
- Click an option under When to edit. You can edit the new page immediately or wait until later.
To test the link, right-click the command button, point to Hyperlink on the shortcut menu, and then click Open.
Create a hyperlink to an object in the current database
- Open a form in Design view.
- If the Control Wizards tool in the toolbox is selected, click it to turn off the Control Wizard.
- In the toolbox, click the Command Button tool .
- On the form, click where you want to place the command button.
- Make sure the command button is selected, and then click Properties on the toolbar to open the property sheet for the command button.
- In the HyperlinkAddress property, click the Build button .
- In the Insert Hyperlink dialog box, click Object in This Database under Link to.
- In the Text to display box, type the display text for the hyperlink. Access automatically displays the value of the command button's Caption property in the box.
- Click ScreenTip, and type the text you want to appear when the user rests the mouse pointer on the hyperlink. If you leave the ScreenTip text box blank, Access displays the hyperlink subaddress as the ScreenTip.
- Click the database object you want to go to from the list.
To test the link, right-click the command button, point to Hyperlink on the shortcut menu, and then click Open.
Note To link to an object in another database, select the desired database file and then click Bookmark to list the objects within that database.
Create a command button that creates an e-mail message when clicked
- Open a form in Design view.
- If the Control Wizards tool in the toolbox is selected, click it to turn off the Control Wizard.
- In the toolbox, click the Command Button tool .
- On the form, click where you want to place the command button.
- Make sure the command button is selected, and then click Properties on the toolbar to open the property sheet for the command button.
- In the HyperlinkAddress property, click the Build button .
- In the Insert Hyperlink dialog box, click E-mail Address under Link to.
- In the Text to display box, type the display text for the hyperlink. Access automatically displays the value of the command button's Caption property in the box.
- Click ScreenTip and type the text you want to appear when the user rests the mouse pointer on the hyperlink. If you leave the ScreenTip text box blank, Access displays the e-mail address as the ScreenTip.
- In the E-mail address box, type an e-mail address, or click an address in the Recently used e-mail addresses list.
- In the Subject box, type the information you want to appear in the Subject field of the e-mail message.
Note Some Web browsers and e-mail programs might not recognize the subject line.
To test the link, right-click the command button, point to Hyperlink on the shortcut menu, and click Open. When you click the hyperlink, Access opens your mail program and creates a new message, with the address and subject filled in.