|
I'm pulling from Table A which has 4 Transaction Statuses... '03', '05', '06', & '07' I've defined a dataset which pulls them... But when I try to define the Parameter, when I select ALL from the drop down menu of the report, it doesn't pull '03', '05', '06' and '07' - in fact, it pulls NOTHING... how do I make it so that the 'ALL' choice will pull ALL statuses in one report? When I select any of the individual statuses, it runs the report just fine... but ALL doesn't get the report to run it for ALL statuses Report Parameter Properties:
(comments are locked)
|
|
How are you passing the parameter to your report and generating the report data? My assumption, based on what you've given, is that your report data is coming from a stored procedure, called by a statement along the lines of In which case, I would expect your stored procedure to contain a For example: If you're confident that the TransactionStatus will always exactly match the parameter passed, then you can replace the You were a little bit quicker with example @ThomasRushton. Btw, any reason for the
Oct 22 '11 at 11:12 AM
Pavel Pawlowski
@Pavel thanks. The (1=1) bit I put in to keep the pattern, and to make it absolutely clear that this is the one which retrieves all values. It's not necessary.
Oct 22 '11 at 11:41 AM
ThomasRushton ♦
(comments are locked)
|
|
In general you have 2 options.
The option 1 is better from my point of view. So you only need to handle the NULL passed in the query.
(comments are locked)
|

