My report is on contracts. I need to give the user a parameter to select from: All CONTRACTS, COMPLETED CONTRACTS ONLY, EXCLUDE COMPLETED CONTRACTS.
The field that controls this is {Ccs_Quotes.Ccs_Quo_Dec_Reason} which has a value 'FIN' for completed and 'WON' for uncompleted.
I created the parameter with the 3 options, then a formula:
IF {Ccs_Quotes.Ccs_Quo_Dec_Reason} = 'FIN'
then 'COMPLETED CONTRACTS ONLY'
ELSE if {Ccs_Quotes.Ccs_Quo_Dec_Reason} = 'WON'
THEN 'EXCLUDE COMPLETED CONTRACTS'
ELSE if {Ccs_Quotes.Ccs_Quo_Dec_Reason} in 'WON, FIN' then 'ALL CONTRACTS'
I then used a Select Expert on the field so that the parameter equalled the formula.
This returns no contracts whatever parmeter I choose.
I've tried reversing the formula so that
IF {?CompletedContracts} = 'COMPLETED CONTRACTS ONLY'
then 'FIN'ETC,
but this creates a Boolean True/False on the Select Expert which I can't think how to use.
Can someone help, please?
The field that controls this is {Ccs_Quotes.Ccs_Quo_Dec_Reason} which has a value 'FIN' for completed and 'WON' for uncompleted.
I created the parameter with the 3 options, then a formula:
IF {Ccs_Quotes.Ccs_Quo_Dec_Reason} = 'FIN'
then 'COMPLETED CONTRACTS ONLY'
ELSE if {Ccs_Quotes.Ccs_Quo_Dec_Reason} = 'WON'
THEN 'EXCLUDE COMPLETED CONTRACTS'
ELSE if {Ccs_Quotes.Ccs_Quo_Dec_Reason} in 'WON, FIN' then 'ALL CONTRACTS'
I then used a Select Expert on the field so that the parameter equalled the formula.
This returns no contracts whatever parmeter I choose.
I've tried reversing the formula so that
IF {?CompletedContracts} = 'COMPLETED CONTRACTS ONLY'
then 'FIN'ETC,
but this creates a Boolean True/False on the Select Expert which I can't think how to use.
Can someone help, please?