Table of Contents
Microsoft Access is a Windows database application for storing related records and building forms, queries, and reports around them. A small team can use it to track customers and orders without retyping customer information for every sale.

Access vs. Excel
Choose Excel for calculations, charts, or a worksheet you can restructure as you go. Choose Access when you need to enforce relationships, guide people through data entry, or run the same queries over structured records. For example, one customer can appear once in a Customers table while many Orders records point to that customer.
Access files have practical limits. Microsoft lists a 2 GB maximum per database file, including objects and data. If several people need to edit data on a local network, consider a front end per user with a shared data back end. Consider a server database when many remote users, stricter access control, or larger data volumes are central requirements.

Tables, queries, forms, and reports
- Tables store records and define data types and keys.
- Queries filter, join, and summarize rows. A select query displays records. An action query can change them, so check its target and back up the data before running one.
- Forms give users a focused interface for viewing or entering records.
- Reports format results for review, printing, or export.
See the guide to the main Access objects for more examples.

Create a small customer and order database
- In desktop Access choose File > New > Blank database. Name the file and select Create.
- Create a Customers table with an AutoNumber primary key named
CustomerIDand a Short Text field namedCustomerName. - Create an Orders table with an AutoNumber primary key named
OrderID, a Date/Time field namedOrderDate, and a Number field namedCustomerIDwith a field size of Long Integer. - Open Database Tools > Relationships, add both tables, and drag
Customers.CustomerIDtoOrders.CustomerID. Select Enforce Referential Integrity to prevent orders from referring to a customer that doesn’t exist. See Microsoft’s relationship instructions. - Enter a customer first and then two orders that use that customer’s ID. In Create > Query Design, add both tables, select the customer name and order date, and run the query. Confirm that both orders appear under the same customer name.

Add a form and a report
Select the Orders table and choose Create > Form for a basic data-entry layout. Test it with a sample record. Select the saved query and choose Create > Report Wizard to group results by customer and sort by date. Check the output against your sample orders before sharing it.

When importing data from Excel with External Data, check column names and types before loading the full sheet. Test a few rows first, especially dates and identifiers with leading zeros. See the illustrated Access walkthrough for more on creating and working with database objects.
Reader Comments 0
Sign in with email or Google to join the discussion.