Best Access Database Design for Property and Contract Documents
Question details
The user wants to structure a folder hierarchy of contract types, geographic areas, properties, and documents into a relational Microsoft Access database.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Designing a database to manage property and contract documents instead of using a flat folder hierarchy.
- Observed behavior
- Currently, data is stored in a folder hierarchy. The goal is to represent this data efficiently using related Microsoft Access tables.
Before creating your tables, map out the relationships between your contract types, areas, properties, and documents on paper to ensure a logical database structure.
Create Related Tables with One-to-Many Relationships
Design your Access database by breaking down the folder hierarchy into separate, related tables to ensure data integrity and avoid duplication.
Instead of importing data into one flat structure, a relational database uses multiple tables connected by common fields (keys). This approach minimizes redundancy and makes searching or updating records much easier.
Set up independent tables for 'ContractTypes', 'Areas', and 'Properties'. Assign a Primary Key (such as an AutoNumber ID field) to each table.
Create a 'Documents' table to store document descriptions, dates, and file paths. Include Foreign Keys in this table that link back to the primary keys of your 'ContractTypes', 'Areas', and 'Properties' tables.
Go to the 'Database Tools' tab, click 'Relationships', and drag the primary keys from your parent tables to the corresponding foreign keys in the Documents table to enforce one-to-many relationships.
Use the Form Wizard to create a 'Properties' form and embed a linked 'Documents' subform. This allows users to view a property record and easily manage all associated files in one screen.

Looking for a Lightweight Office Suite?
While Microsoft Access is built for complex relational databases, WPS Office is the perfect lightweight alternative for your daily document, spreadsheet, and presentation needs. It is fully compatible with Microsoft Office formats and offers a familiar, easy-to-use interface.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the software: Run the downloaded installer and follow the on-screen instructions to complete the quick setup.
- 3. Open your files: Launch WPS Office and seamlessly open, edit, and save your existing .docx, .xlsx, or .pptx files.

Frequently Asked Questions
Should I store actual documents in my Access database or just links?
It is a best practice to store file paths or hyperlinks to the documents in your tables rather than embedding the files as OLE objects or attachments. Embedding files can cause the Access database to reach its 2GB size limit very quickly, which degrades performance.
What is a one-to-many relationship in Microsoft Access?
A one-to-many relationship means a single record in a primary table (like a specific Property) can be linked to multiple records in a related table (like several Documents associated with that property).
How do I link a subform to a main form in Access?
When designing your form in Design View, add the Subform/Subreport control from the toolbar. Use the wizard to select the related table (e.g., Documents), and ensure the 'Link Master Fields' and 'Link Child Fields' properties in the Data tab are set to the common ID field connecting the two tables.




