ginkoba
Technical User
- Jan 29, 2009
- 60
I created 2 optional parameters and have a couple of formulas for the user to either enter something or leave blank. They both work separately but wanted to combine them into one formula. Please see example below. When I put an else between the 2 formulas, it ignores the 2nd one. Can someone please assist?
if not (hasvalue(({?Status}))) or ({?Status}) = " " then True
else if
hasvalue({?Status}) then
{RIM_RISKS_AND_ISSUES.STATUS_CODE} in {?Status}
Else
if not (hasvalue(({?ProjectID}))) or ({?ProjectID}) = " " then True
else if
hasvalue({?ProjectID}) then
{INV_INVESTMENTS.CODE} in {?ProjectID}
if not (hasvalue(({?Status}))) or ({?Status}) = " " then True
else if
hasvalue({?Status}) then
{RIM_RISKS_AND_ISSUES.STATUS_CODE} in {?Status}
Else
if not (hasvalue(({?ProjectID}))) or ({?ProjectID}) = " " then True
else if
hasvalue({?ProjectID}) then
{INV_INVESTMENTS.CODE} in {?ProjectID}