You can access tables in Microsoft Access by double-clicking their name in the Navigation Pane, which opens the table in Datasheet View for data entry and viewing.
For structural modifications, you can right-click the table and choose Design View. You can also access table data indirectly through queries, forms, and reports, which are built to interact with one or more tables.
Method 1: The Navigation Pane
The Navigation Pane, located on the left side of the Access window, is the central hub for all database objects, including tables.
- Open your database. Launch Microsoft Access and either open a recent database from the start screen or use the "Open" function.
- Locate the Navigation Pane. If it is not visible, press the F11 key.
- View all objects. Ensure the pane is showing tables by clicking the drop-down menu at the top and selecting All Access Objects.
- Open a table:
- Datasheet View: Double-click the table name in the Navigation Pane. This view shows your data in a spreadsheet-like format, with rows and columns, for easy entry, editing, and sorting.
- Design View: Right-click the table name and select Design View. This view is used to define the table's structure, including field names, data types, and properties.
Method 2: Use queries for filtered and combined data
Queries are used to retrieve, filter, and combine data from one or more tables. Queries allow you to access a specific, filtered, and organized subset of your table data without altering the original tables.
- Create a new query. Go to the Create tab and select Query Design.
- Add tables. In the "Show Table" dialog box, double-click the table(s) you want to access.
- Select fields. Drag and drop the fields you want to view from the table window down into the design grid at the bottom.
- Add criteria. Enter filtering criteria (e.g.,
="USA"in a "Country" field) to restrict the results. - Run the query. Click the Run button (a red exclamation mark) on the Design tab to see your filtered table data in Datasheet View.
Method 3: Access tables through forms and reports
Forms and reports provide a user-friendly interface for interacting with your table data, offering different ways to access and present information.
Forms:
- Forms are used for data entry, modification, and display, typically showing one record at a time.
- To create a form based on a table:
- Select the desired table in the Navigation Pane.
- Go to the Create tab and click the Form button.
- Access automatically generates a form populated with your table's fields.
Reports:
- Reports are designed for printing and summarizing table data, often using aggregated information from multiple tables.
- To create a report based on a table:
- Select the desired table in the Navigation Pane.
- Go to the Create tab and click the Report Wizard button.
- Follow the wizard's steps to select fields, group data, and apply sorting.
Method 4: The Relationships window for structural access
The Relationships window provides a visual overview of how your tables are connected and allows you to enforce referential integrity rules, which protect the data's validity.
- Open the Relationships window. Go to the Database Tools tab and click Relationships.
- View table relationships. A graphical representation shows all relationships between tables.
- Add tables. If a table isn't displayed, click the Add Tables button on the ribbon.
- Edit relationships. You can double-click a relationship line to change or define how the tables interact with each other.
Important considerations for accessing tables
- View modes: Always be mindful of the current view.
- Datasheet View is for data manipulation.
- Design View is for structural changes.
- Switch between them by using the View button on the Home tab.
- Object types: Ensure you have the correct object type selected in the Navigation Pane. If you don't see your tables, you may be viewing forms, queries, or other objects instead.
- Hidden objects: In some cases, tables might be deliberately hidden. To see them, right-click the top of the Navigation Pane, select Navigation Options, and check the Show Hidden Objects box.
- Linked tables: If your database uses linked tables (e.g., from an external source like a spreadsheet), their icon will show a small arrow. They are accessed the same way as native tables, but the data source is external.