Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > Reporting Services
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Reporting Services SQL Server Reporting Services. Please specify which version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Reporting Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 13th, 2006, 05:15 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Working with two data sources and dependencies par

hello.
This is a real hard nut to crack :)

I'm trying to do the following:
I have one dataSource name "dSource1" and second named "dSource2".
I have a report with one dataSet base on dSource1 and one dataSet base on dSource2.

Now, I want that the second dataSet will return a list of numbers and for the first dataSet to use those number in a query.
(example: second dataSet is "select num from t1" and the first dataSet is "select * from t2 where nums in (@allNums)".
and of course that @allNums should be the values returned from the second dataSet.

Whan I tried to set the @allNums parameter to get his default values from the query of the second dataSet I got the error that say "forward dependencies are not valid".
Whice mean that this thing can not be done :(

Is there any other way of doing this?

Thanks in advance,
Roy,


Reply With Quote
  #2 (permalink)  
Old November 14th, 2006, 02:27 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem solved.

It was all a metter of running order between the parameters :)

Thanks.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: IListSource not contain any data sources. cJeffreywang ASP.NET 2.0 Basics 1 October 17th, 2007 03:04 PM
Joining data from multiple data sources ClaesR BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 0 August 28th, 2006 09:30 AM
Synchronizing 2 tables on 2 different data sources luai ADO.NET 3 February 24th, 2005 01:37 AM



All times are GMT -4. The time now is 11:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.