In Access you can add a subform to a form to provide related data from a one-to-many relationship. With this feature you can present many related records in just one record.
But before starting this let's have short info about subform is a form that is nested inside of another form. It usually contains data that is relevant to the record which is currently open in the main form.
Here in this tutorial, we will add a subform to a form that contains information about countries. The subform displays the cities within each country.
After selecting the Use existing Tables and Queries, you will now be prompted to choose the fields to use in the subform. Now make a selection for the table or query from the drop-down list.
From the left panel, select each field that you want to keep on the subform, then click the little > button to move it across to the right pane.
You can choose fields from more than one table or query. After completing the first one, select another table/query from the drop-down. After completing all this, just click to the Next option.
It's compulsory to have a field that links the main form and its subform. This is typically an ID field or much similar like that.
If you have already setup the relationship for the tables, then access will itself decides which fields to be used on the primary key and foreign key of the relationship.
At this section of wizard, access gives you the opportunity to choose own fields or another one from the given list.
After selecting, complete fields, tap to the next option.