Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Subreport error SSRS 2008

Posted on 2009-05-11
2
Medium Priority
?
1,139 Views
Last Modified: 2012-05-06
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
Comment
Question by:Kelvin Sparks
2 Comments
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24353542
Might be something to do with the cache data setting.
0
 
LVL 22

Accepted Solution

by:
Kelvin Sparks earned 0 total points
ID: 24363012
Ended up being an issue with an expression to determine which was hidden.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question