KingArthur
Programmer
I have designed a report that produces a list that I would like to sort on the persons name or the value of their loan balances.
I can do this using the record sort expert, but I would like to give the user the option to choose.
I can create a parameter and the use the result in a formula field to sort on like so:-
if {?Sortby} = "Name" then {@ContractorName} else {@LoanBalance}
However, as the name is alpha and the loan numeric, the formular is rejected.
I've tried converting the loan 'ToText' but ran into many problems, especially as there are some negative values too.
Any help would be appreciated.
Thanks
Martin
I can do this using the record sort expert, but I would like to give the user the option to choose.
I can create a parameter and the use the result in a formula field to sort on like so:-
if {?Sortby} = "Name" then {@ContractorName} else {@LoanBalance}
However, as the name is alpha and the loan numeric, the formular is rejected.
I've tried converting the loan 'ToText' but ran into many problems, especially as there are some negative values too.
Any help would be appreciated.
Thanks
Martin