1

I have this price column in my Report that depends on other columns value for example if HasLoan column be true and IsSale column be true then price columns value should be

"Price:{Consigner.LoanAmount}, Loan:{Consigner.SellPrice}"

The LoanAmount and SellPrice columns are seprate columns. I have already wrote this but it doesn't work and throws Exception:

{({Consigner.HasLoan} == true) ? "Loan:"+{Consigner.LoanAmount}:""}
4

2 回答 2

1

你不应该在表达式中使用大括号

{(Consigner.HasLoan == true) ? "Loan:"+Consigner.LoanAmount:""}
于 2014-04-09T16:34:43.473 回答
0

在 stimulsoft 中尝试:

{IIF(Consigner.HasLoan,"Loan: " Consigner.LoanAmount ,"")}
于 2014-04-09T06:47:08.097 回答