SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Multiple Datasets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anishap
Yak Posting Veteran

61 Posts

Posted - 10/26/2012 :  14:46:14  Show Profile  Reply with Quote
I'm trying to join 2 datasets in SSRS but I don't know if there is any way to do is.

Below is the query Dataset1

SELECT E.FLDID,E.FLDLNAME,E.FLDFNAME,D.FLDDESCR AS DEPT,J.FLDDESCR AS JOB,E.FLDEMAIL,I.FLDDATE,I.FLDTYPE,I.FLDSTATUS

FROM EMPLOYEE E LEFT OUTER JOIN IMMUNE I
ON E.FLDREC_NUM = I.FLDEMPLOYEE
LEFT OUTER JOIN DEPT D
ON D.FLDCODE = E.FLDDEPT
LEFT OUTER JOIN JOB J
ON J.FLDCODE = E.FLDJOB
WHERE I.FLDDATE >= '2012-07-01' AND I.FLDTYPE IN ('109','111')
ORDER BY E.FLDLNAME, E.FLDDEPT

Dataset 2 (is on Access database)

I just want to join the employee table in dataset2 to the above query on dataset1.

Is this possible?
**********************************
For example DATASET1.EMPLOYEE.EID = DATASET2.EMPLOYEE.ID


sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 10/26/2012 :  14:56:46  Show Profile  Reply with Quote
As far as I know, SSRS does not let you do this. You will have to do it at the source (SQL Server or Access)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000