Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

HOW TO GET input parameters full name by sql query passing @parameter

$
0
0

I am new to SSRS REPORT BUILDER 3.0 . I am passing 2 input parameters to to get the report .1: Employee No 2:Date and retrieving employee details on the report. Now i want to show the employee name for selected employee no on the report . But how to get this information (EX: i know the query from employee table where emp no =@empno). But how and where i can write this query for input parameter @empno. So that i can drag and drop employee name on my report ? LIKE CRYSTAL REPORTS... Any help or comments would be great ..

I DONT KNOW IT IS A RIGHT APPROACH:

1 CREATING DATASET and query : SELECT EMPNAME FROM EMPLOYEE WHERE EMPNO='@EMPNO' 2: CREATE PARAMETER GENERAL: INTERNAL AVAILABLE VALUES: DATASET , VALUE FIELD, LABEL FIELD

BUT ITS NOT WORKING


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>