Create a command button that's a hyperlink to an object in the current database

Create a command button that's a hyperlink to an object in the current database

  1. Open a form in Design view.

  2. If the Control Wizards tool in the toolbox is pressed in, click it to turn off the Control Wizard.

  3. In the toolbox, click the Command Button tool Command Button control.

  4. On the form, click where you want to place the command button.

  5. Make sure the command button is selected, and then click Properties on the toolbar to open the property sheet for the command button.

  6. In the HyperlinkAddress property, click the Build button .

  7. In the Insert Hyperlink dialog box, click Object in This Database under Link to.

  8. In the Text to display box, type the display text for the hyperlink. Microsoft Access automatically displays the value of the command button's Caption property in the box.

  9. 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.

  10. Click the database object you want to go to from the list.

  11. Click OK.

    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, create a link to the database file and then click Bookmark to select the object.