How to Create Access Database Forms and Payment Subforms
Question details
The user wants to design an Access database layout using a main form to display subscription details and a linked subform to track corresponding payments.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Building a database interface to effectively track and manage organizational subscriptions and their related payments.
- Observed behavior
- The goal state is to replicate an integrated layout with a main form and subform structure, utilizing the correct table relationships and linking fields (e.g., SubscriptionID) to associate payments with the right accounts.
Map out your database entity relationships on paper and identify your primary and foreign keys (like ChurchCode or SubscriptionID) before designing tables and forms in Access.
Design and Relate the Database Tables
Before building forms, separate your data into related tables to ensure database normalization and data integrity.
A relational database requires data to be split logically. Avoid putting all organizational, subscription, and payment details into a single flat table.
Create a table for Organizations or Churches with a primary key (e.g., ChurchCode), and a Subscriptions table containing a unique SubscriptionID and a foreign key linking back to the Organization.
Create a Payments table that uses SubscriptionID as a foreign key. This ensures payments are tracked against specific subscriptions rather than just the organization.
Open the Database Tools tab, click Relationships, and link the primary keys to their respective foreign keys, checking 'Enforce Referential Integrity'.
Build the Main Form and Link the Subform
Bind your forms to the respective tables and link them together to create an interactive and synchronized data entry layout.
Calculate Totals Using Unbound Controls
Display the total sum of payments made toward a subscription directly on the main form.
Need a lightweight alternative for your daily documents and spreadsheets?
While Microsoft Access handles complex relational databases, WPS Office provides a complete, free alternative for your standard productivity needs. Seamlessly edit Word documents, manage Excel spreadsheets, and design PowerPoint presentations with high compatibility and a familiar, user-friendly interface.
- 1. Visit the official website: Go to the official WPS Office website to access the secure download.
- 2. Download the installer: Click the 'Free Download' button to get the lightweight installation file for your operating system.
- 3. Install and launch: Run the installer and follow the on-screen instructions to quickly set up your new office suite.

Frequently Asked Questions
Why are all payments showing on every record instead of just the specific subscription?
This happens if the Link Master Fields and Link Child Fields properties are not properly configured. Select the subform control in Design View, open the Property Sheet, and ensure both link fields are set to your shared identifier, such as SubscriptionID.
Should I link payments directly to the ChurchCode or to the SubscriptionID?
Payments should normally reference the SubscriptionID. This properly handles scenarios where an organization might have multiple subscriptions over time, ensuring the payment applies to the correct billing cycle rather than an ambiguous general account.
Can I print the main form and subform together as a billing summary?
While you can print a form directly, it is highly recommended to create a Report in Access for printable summaries. Reports offer significantly better grouping, sorting, and pagination controls than forms, which are optimized for screen display and data entry.





