on 06-11-2014 6:27 AM
Hi All,
Please guide how to do this requirement.
I Have a report having 2 command level parameters a and b.
If they select any of the one parameter then other one should be disabled/should not ask any value to enter /should not take any value .
Please suggest how to do
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot 'disable' a prompt in CR; you can only leave it blank.
String prompts can be left blank without entering a value and without specifically marking them as 'Optional'. While you can't set prompts created at the command level as optional, you can always leave them blank and handle the NULL value passed by that prompt in the where clause of the query.
The query could look something like this:
where ({?Prompt_a} is null OR table.field = {?Prompt_a})
AND ({?Prompt_b} is null OR table.field = {?Prompt_b})
-Abhilash
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.