Kelvin Sparks
asked on
Subreport error SSRS 2008
Hi Experts,
I have a main report with two subreports. I have code that hides a subreport if no data is present. There will never be data for both subreports at any one time. The report works perfectly if one or other subreports are on the main report, but returns an error if both are present. Both share the same parent record from the main form as a single parameter.
Error message is:
"An error occurred during local report processing.
Object reference not set to an instance of an object."
What is the issue here?
Kelvin
I have a main report with two subreports. I have code that hides a subreport if no data is present. There will never be data for both subreports at any one time. The report works perfectly if one or other subreports are on the main report, but returns an error if both are present. Both share the same parent record from the main form as a single parameter.
Error message is:
"An error occurred during local report processing.
Object reference not set to an instance of an object."
What is the issue here?
Kelvin
Might be something to do with the cache data setting.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.