Subreport error SSRS 2008
Posted on 2009-05-11
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?