Why not just rewrite the stored procedure to accept 2 parameters and then do the appropriate logic:CREATE PROCEDURE #report @dropdown int, @text varchar(100) ASIF @dropdown=1... code goes hereIF @dropdown=2... code goes hereIF @dropdown=3... code goes here
If that's not possible, have your report call a wrapper procedure that takes 2 parameters and makes the appropriate call:CREATE PROCEDURE #wrapper @dropdown int, @text varchar(100) ASIF @dropdown=1 EXEC myReport @param1=@textIF @dropdown=2 EXEC myReport @param2=@textIF @dropdown=3 EXEC myReport @param3=@text
Either approach is going to be a lot easier than getting the UI to show or hide separate controls.