Search code examples
ms-accessms-access-2007

Access Subreport


I have some troubles with my database. I am trying to create a subreport within a main report, I tried this with two different ways. the result is the same in both ways.

Way #1 - In the main report, clicked Subform/Subreport icon and selected the subreport from the list which has been prepared prior.

Way #2 - In the main report, clicked Subform/Subreport icon then built the subreport form the corresponding query, so that the fields I want appeared in the Child fram within the main report.

*****In both ways, at the run time the database gets panic, and Access shutdown my application database.*****

Note: Either main report or subreport is workig individually in good condition viewing the data based on the filter criteria.


Solution

  • Review your "Link Master Fields" and "Link Child Fields" on the sub form. You could be creating a Cartesian Product. Sometimes, a query on the sub report is just too complex and can cause Access to crash (I've only noticed that in previous versions.).