I have a report with a parameter that is populated by a list of sales representatives returned by a query. I want to filter that list based on security rights of the user ru
Change your query to:
where UserName = @user
... and in the "Parameters" tab, assign "User!UserID" to the "@user" parameter.
Just want to share my experiance if some poor soul wandering around like me without any clue. I discovered that my @user parameter had to be first in the list in order for my dropdown to get populated which was dependant on that. I have no clue why is that.
Yes I can confirm the order is important when using the userID in a query to set the default value for another parameter. I had to delete and recreate the parameters to get it to work. I couldnt see a way to move the parameter order