SubReport Error

K

Kim

I develop and test in Access 2002 But have an issue that occurs only on SOME
computers using Access 2003.
I have a Report with a sub report on the report header. In the On Format
event of the report header I check for data in the sub report by checking on
Text box for data. If there is none I set the subreport visible property
false.
The problem is on some computers I get an "invalid reference to a
form/report" when I try to reference this field. This is interpreted as a
false and the sub report is set invisible even though there is data.
This code has been working fine for years, all the way back to Access 97.
I thought it was a version bug - It worked OK on machines using Access
11.5xx.xxx but not 11.6xx.xxx. But a 'helper' upgrded the the 11.5s to 11.6
and they still worked OK.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SubReport Error 1
report with multiple subreport question 6
Reference subreport control if HasData 3
Subreports 1
Subreport On No Data event 2
Reports/SubReports 2
Error from Subreport 2
Report limits on subreports 3

Top