?
Solved

VS2010 Reporting

Posted on 2013-05-20
3
Medium Priority
?
388 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

770 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