Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 How do I get the sub report to data

Author  Topic 

shebert
Yak Posting Veteran

85 Posts

Posted - 2009-11-09 : 16:19:14
Hello
I have a main report that has parameters startdate, enddate
it returns a list of parts and quantities

I added a sub report down below the main report it accepts startdate,endate and part from main report

it works but only gives me the data for last part from main.

I want to be able to click any part from main and have sub refresh with data from that part clicked in main.

any Ideas?
Thanks Steve

shebert
Yak Posting Veteran

85 Posts

Posted - 2009-11-09 : 16:41:08
Ok so if go to properties if the part field on the main report I can set navigation to the subreport, but then it jumps out of main and into sub report giving data for part selected.

is there any way to get it to run the subreport and display it on the main report?
Go to Top of Page

JCirocco
Constraint Violating Yak Guru

392 Posts

Posted - 2009-11-10 : 16:06:26
Can you force a value to be at the end of the table that you can use to control whether or not it is hidden?

Something like if part# 9999999 then under visibility:
=Iif(Field.PartNo.value=9999999, True, False)

John
It's a small world (but I wouldn't want to paint it)
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-11-11 : 12:13:11
cant you navigate to same report with part field value as selected part & mode parameter with 'detail' value? then when mode=detail, show only part info alone
Go to Top of Page
   

- Advertisement -