How a main report and subreport are linked

How a main report and subreport are linked

When you insert a subreport that contains information related to data in the main report, the subreport control must be linked to the main report. The link ensures that the records printed in the subreport correspond correctly to the records printed in the main report.

When you create a subreport by using a wizard or by dragging a report or datasheet from the Database window to another report, Microsoft Access automatically synchronizes the main report and subreport if:

Note   Microsoft Access uses the LinkMasterFields and LinkChildFields properties of the subreport control to link the main report and the subreport. If for some reason Access doesn't link the report and subreport, you can set these properties directly.

How?