Link to home
Start Free TrialLog in
Avatar of Kelvin Sparks
Kelvin SparksFlag for New Zealand

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
Avatar of tbsgadi
tbsgadi
Flag of Israel image

Might be something to do with the cache data setting.
ASKER CERTIFIED SOLUTION
Avatar of Kelvin Sparks
Kelvin Sparks
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial