reporting services - Depending Parameters in a text box (SSRS 2008-R2) -
i working on ssrs report , have 2 parameters in prompt section, employeeid , employeename respectively.
employeename prompt depends on employeeid prompt selected, can employeename populated in textbox once employeeid selected.
right employeeid being shown in drop-down , user have go drop-down , select it, can done in textbox?
any appreciated!
create main report dataset (dsmain exmaple) query
select * mytable employeeid = @employeeid
i'm assuming have first parameter setup , working correctly return list employeeids. example we'll call parameter employeeid/
create dataset (called example, dsemployeename) query
select employeename myemployeetable employeeid = @employeeid
in second parameter (the 1 want showing in text box), leave 'available values' blank , set 'default values' query. choose dsemployeename dataset , choose employeename value.
note work first time round. if choose value drop down, name not updated.
i don't know exact requirements if can both id , name together, why need 2 parameters, 1 of nothing it's not passed report?
Comments
Post a Comment