Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VS2010 Reporting

Posted on 2013-05-20
3
Medium Priority
?
390 Views
Last Modified: 2013-12-24
Hi,

I'm having a hard time creating a master-detail report in VS2010. I have the following:
1x Master report for my transaction header info
1x dataset for my master report (with 1x Tableadapter to the transaction header table - no relationships)
1x Subreport for my transaction detail
1x dataset for my subreport (1x tableadapter to transaction detail - no relationships)
1x reportviewer
2x objectdatasources (one for each tableadapter)

My problem is the parameters I've set up don't seem to be filtering any data when I click to view the detail of a transaction. Can someone maybe explain to me in detail how subparameters get passed to an objectdatasource to filter data? Do I need to include a where clause in my select statement?

Here is the report I've created so far:
faulty-report.jpg
0
Comment
Question by:LIBRALEX
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Expert Comment

by:caltain
ID: 39189031
Yes, you do need to use a where clause in your select statement. Conceptually speaking, the select statement asks to be provided with an entire table or tables. The where clause is what allows you to narrow down the result to the specific records of interest. Let me know if you find that you're still having a problem.

Cheers!
Caltain
0
 

Accepted Solution

by:
LIBRALEX earned 0 total points
ID: 39309506
Looks like the parameters were not completely set up. This needs to be done in:
1) The Report-data section of the subreport (From the top menu click view->report data)
2) In the Filters tab on tablix properties of the subreport (right-click the row->tablix properties)
3) In subreport properties on the parameters tab of the master report (right-click the subreport on the master report->subreport properties)

Thanks all
0
 

Author Closing Comment

by:LIBRALEX
ID: 39323065
Eventually figured it out
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

610 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