How to Create a Hyperlink Field in Access 2010

To create a hyperlink field in Access 2010, open a table in Design View, add a field name such as Website or Email, and set its Data Type to Hyperlink. Save the table, then enter or edit destinations in Datasheet View. A Hyperlink field stores an address that Access can open; it does not copy a web page or attach a file to the database.

The Access 2010 Create tab with the Table command selected
The Create tab’s Table command starts a new table that you can configure in Design View.

When to use a Hyperlink field

Use this data type when people working with the database should open a related website, email address, or file location from a record. Examples include a company’s public website, a contact’s email address, or a document stored on a shared network drive. The destination still has to exist, and each user must have permission to reach it.

A hyperlink is different from an Attachment field: it stores a destination, not the file itself. It can also carry optional display text, a subaddress, and a screen tip along with the address. Microsoft documents a maximum of 2,048 characters for a Hyperlink field. If a report, query, or another program needs a plain text URL, consider whether a Short Text field is a better fit and test how your database uses the value.

For shared documents, a UNC path such as \server\share older\guide.pdf is usually easier for coworkers to use than a drive letter that may be mapped differently on each PC. A link to a file on your own computer will not automatically work for other users.

A Contacts table in Design View with the Email field set to the Hyperlink data type
In Design View, choose Hyperlink in the Data Type column for the field that should hold clickable addresses.

Create the field in Access 2010

  1. Open the table in Design View. For an existing table, right-click it in the Navigation Pane and choose Design View. To start a table, select Create > Table, save it with a name, and switch to Design View from its tab’s shortcut menu.
  2. Add a field name. In the first blank row under Field Name, enter a clear name such as Website, Email, or DocumentLink. Use a separate field for each kind of destination you need to store.
  3. Set its data type. In the same row, open the Data Type list and select Hyperlink. Leave unrelated fields—such as a person’s name or phone number—as the appropriate text or number types.
  4. Save the table design. Press Ctrl+S. If Access prompts you to name a new table, enter a useful table name and confirm it. Switch to Datasheet View when you are ready to add records.
A sample Access datasheet showing email and website values formatted as clickable links
In Datasheet View, each record can have its own email address and website destination.

Enter a website, file, or email link

In Datasheet View, enter a complete web address beginning with https://, for example https://www.example.org. Include the scheme so Access has an explicit destination. For a shared file, enter its reachable path. Access may display a hyperlink in blue and underlined text, but appearance alone does not confirm that the address is correct.

To create an email link with a subject, select the cell and open Hyperlink > Edit Hyperlink from its shortcut menu, or press Ctrl+K. In the dialog, choose E-mail Address, enter the recipient, and optionally fill in the subject. Confirm with OK. When clicked, the link asks the computer’s configured email application to compose a message; it is not guaranteed to open Outlook unless Outlook is the default mail handler.

You can also use the hyperlink dialog to make the displayed label more readable than a long URL. Keep the destination itself accurate, and use display text that tells the user where the link goes. Microsoft’s Access documentation describes the field’s address, display text, subaddress, and screen-tip parts in its Hyperlink field guide.

The Edit Hyperlink dialog with an email address and optional subject entered for a sample record
The email option accepts a recipient and an optional subject for a new message.

Test the link and fix common problems

  • A URL looks clickable but does not open: Edit the hyperlink and check for a typo, a missing https://, or an obsolete page address. Try the destination directly in a browser.
  • A file link works only on one computer: Confirm that the file is in a shared location and that the current user has access. Replace a machine-specific path or drive letter with the correct shared path if appropriate.
  • An email link does not open a compose window: Check that Windows has a default email application configured. The address and subject in Access populate a request for the mail program; they do not send the message.
  • You need to change a saved destination: Use Edit Hyperlink rather than replacing only the visible label. Save the record and test the new target.

For a safe test, use a public page you trust, a file you can access, or your own email address. Avoid opening unexpected links from records you do not recognize. Hyperlink values can contain more than the visible text, so inspect the actual destination before relying on a label.

For additional reference, see Microsoft’s Access data types and field properties and its HyperlinkPart reference, which explains how Access separates and reads the parts of a hyperlink value.

Leave a Comment

How to Move a Picture in Microsoft Word

How to Move a Picture in Microsoft Word

Learn how to drag a picture in Word, choose text wrapping, keep it with a paragraph or fix it on the page, and troubleshoot images that will not move.

How to Insert a Checkbox in Excel: Two Easy Methods

How to Insert a Checkbox in Excel: Two Easy Methods

Learn how to insert a checkbox in Excel with the in-cell tool, count checked items with formulas, or add a linked Form Control in older desktop versions.

How to Autofill Letters in Excel: A to Z and Beyond

How to Autofill Letters in Excel: A to Z and Beyond

Generate A to Z, lowercase letters, or labels beyond Z in Excel with a fill-handle formula, SEQUENCE, or a reusable custom list.

How to Strikethrough in Excel: Shortcuts and Step-by-Step Methods

How to Strikethrough in Excel: Shortcuts and Step-by-Step Methods

Learn how to strikethrough in Excel on Windows, Mac, and the web, format part of a cell, and remove the line without deleting its value.

What Is Microsoft Access? How Its Database Tools Work

What Is Microsoft Access? How Its Database Tools Work

Microsoft Access is a Windows database app for storing related records, building queries, creating data-entry forms, and generating reports. Learn how it works and when it fits.

Office Outlook 2010 Import and Export: Move Data with a PST

Office Outlook 2010 Import and Export: Move Data with a PST

Learn how to import a PST into Outlook 2010 or export mail, contacts, calendar, and tasks. Follow the correct menus and avoid missing folders or duplicates.

Change Gridline Height and Width in Word 2010

Change Gridline Height and Width in Word 2010

Learn how to adjust gridline height and width in Word 2010, change visible line frequency, and set the underlying horizontal and vertical drawing-grid spacing.

Recover an Outlook PST Password with Nucleus Kernel

Recover an Outlook PST Password with Nucleus Kernel

Recover a forgotten Outlook PST password with Kernel’s current steps, including how to identify the right file, make a backup, and check the tool’s limits.

How to Insert a Live Web Page in a PowerPoint Slide

How to Insert a Live Web Page in a PowerPoint Slide

Use the LiveWeb add-in to place a website on a PowerPoint slide, set its size and refresh behavior, and check compatibility before presenting.

How to Make an Access 2010 Database Open to a Form

How to Make an Access 2010 Database Open to a Form

Set an Access 2010 database application to open directly to a data-entry form, hide object lists, limit menus, and check the setup before sharing.