You usually use a subform to display data from tables or queries that have a one-to-many relationship. For example, a Categories table and a Products table have a one-to-many relationship — each category can have more than one product.
When you create a form and subform based on tables that have a one-to-many relationship, the main form shows the "one" side of the relationship and the subform shows the "many" side of the relationship. The main form is synchronized with the subform so that the subform shows only records related to the record in the main form. If you use a wizard to create a subform, or if you drag a form, table, or query from the Database window to another form to create a subform, Microsoft Access automatically synchronizes the main form with the subform if both of the following are true:
Note Microsoft Access uses the LinkMasterFields and LinkChildFields properties of the subform control to link the main form and subform. If, for some reason, Microsoft Access doesn't link the form and subform, you can link the forms yourself.