Any help will be appreciated:
I need a parameter where a user can select "ALL" or "one division"
So I create {?division} parameter and Added "All" to the values list
and Under record selection Formula I added the below code:
if {?division}<>"ALL" then
{a.division} = {?division}
else
If {?division}= "ALL" then
{a.division} = "DivisionA"
or
{a.division} = "DivisionB"
or
{a.division} = "DivisionC"
or
{a.division} = "DivisionD"
But this code not working if user picl up "ALL" but it is working for one division.
I need a parameter where a user can select "ALL" or "one division"
So I create {?division} parameter and Added "All" to the values list
and Under record selection Formula I added the below code:
if {?division}<>"ALL" then
{a.division} = {?division}
else
If {?division}= "ALL" then
{a.division} = "DivisionA"
or
{a.division} = "DivisionB"
or
{a.division} = "DivisionC"
or
{a.division} = "DivisionD"
But this code not working if user picl up "ALL" but it is working for one division.