Having some wierd report display on my report...
Basically I have a main report where 6 reports are linked to it by using subreport. On these 6 reports there is an area for displaying annual average (database for school). The calculation code used:
=DSum(" [GRADES] * [ACT CREDITS] ",Forms![INDIVIDUAL APR]!BOX2,"[YEAR] = REPORTS![APR REPORT YEAR3]!YEAR AND ([GRADES] LIKE '[0-9]*' OR [GRADES] = NULL )")/DSum("[ACT CREDITS]",Forms![INDIVIDUAL APR]!BOX2,"[YEAR] = REPORTS![APR REPORT YEAR3]!YEAR AND ([GRADES] LIKE '[0-9]*' OR [GRADES] = NULL)")
APR REPORT YEAR_ changes depending on the year...
When I open these 6 reports individually the annual averages show up on each report. However, when I open up the main report by itself, I get #ERROR on the annual average box. Now the interesting thing is, if I have these 6 pages opened up individiually (or any of them), then open up the main report, everything works on the main report.
Any idea why this might be happening? Seems very wierd to me...
Thanx for the helps.
Basically I have a main report where 6 reports are linked to it by using subreport. On these 6 reports there is an area for displaying annual average (database for school). The calculation code used:
=DSum(" [GRADES] * [ACT CREDITS] ",Forms![INDIVIDUAL APR]!BOX2,"[YEAR] = REPORTS![APR REPORT YEAR3]!YEAR AND ([GRADES] LIKE '[0-9]*' OR [GRADES] = NULL )")/DSum("[ACT CREDITS]",Forms![INDIVIDUAL APR]!BOX2,"[YEAR] = REPORTS![APR REPORT YEAR3]!YEAR AND ([GRADES] LIKE '[0-9]*' OR [GRADES] = NULL)")
APR REPORT YEAR_ changes depending on the year...
When I open these 6 reports individually the annual averages show up on each report. However, when I open up the main report by itself, I get #ERROR on the annual average box. Now the interesting thing is, if I have these 6 pages opened up individiually (or any of them), then open up the main report, everything works on the main report.
Any idea why this might be happening? Seems very wierd to me...

Thanx for the helps.
