x

SSRS parameter selection

Hello,

I'm required to create a report with SSRS with multiple parameters. I have Date and Serialnumber parameters. I want both parameters to appear on the report when it's generated however i don't want a user to only use one of the two partameters and not both at once. any ideas?

thanks Pinkett

more ▼

asked May 28, 2012 at 09:13 AM in Default

avatar image

Pinkett
30 13 14 15

Can you confirm please that my understanding is correct that a user will have 2 parameters available but use 1 OR the other and not both together?

May 28, 2012 at 10:59 AM Mrs_Fatherjack

That is 100% Mrs_Fatherjack. That is it.

May 28, 2012 at 12:22 PM Pinkett
(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

There is no way of stopping someone only entering data in one parameter, however there was a post on here recently that showed how you can display a parameter based on a previous parameter therefore you could set a parameter to say "Do you wish to enter "A" or "B"?" then based on the output display the correct parameter. If this is of interest I'll find the question and post a link.

more ▼

answered May 28, 2012 at 12:27 PM

avatar image

Mrs_Fatherjack
5.1k 64 66 75

(comments are locked)
10|1200 characters needed characters left

Hi Mrs_Fatherjack, all i want really is maybe a query or dataset to say for e.g SearchByCriteria (Daterange or serial Number) but not both, yes both will be visible once the report is generated, however the user can either use a date range or a serial no.

more ▼

answered May 28, 2012 at 12:35 PM

avatar image

Pinkett
30 13 14 15

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x92

asked: May 28, 2012 at 09:13 AM

Seen: 1369 times

Last Updated: May 28, 2012 at 12:35 PM

Copyright 2016 Redgate Software. Privacy Policy