Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Want to sync two datasets, one has DB2 and other has SQLServer as data source to give a combined...


Want to sync two datasets, one has DB2 and other has SQLServer as data source to give a combined resultset.

Author
Message
2ramgopal
2ramgopal
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 7
Hi,

I have two datasets in my SSRS report, first is a dataset D1 which has DB2 as data source and has 6 columns with one column userId which needs to be mapped with second dataset D2 which has SqlServer datasource and has two columns with userID and name. I need to map the corresponding userID from D1 with userID in D2 and result the Name column out of it to the result set and also if there is no name listed with a blank then print userID in the results.
Please help in achieving this and I have tried Lookup functionality but it didn't yielded expected results. i tried to pass userID from D1 as parameter to D2 to filter the records in custom code too.

Thanks for your time.

-Ram
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search