• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1143
  • Last Modified:

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
0
Kelvin Sparks
Asked:
Kelvin Sparks
1 Solution
 
tbsgadiCommented:
Might be something to do with the cache data setting.
0
 
Kelvin SparksAuthor Commented:
Ended up being an issue with an expression to determine which was hidden.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now