سؤال

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}:""}
هل كانت مفيدة؟

المحلول

You shouldn't use braces in the expression

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

نصائح أخرى

try it in stimulsoft:

{IIF(Consigner.HasLoan,"Loan: " Consigner.LoanAmount ,"")}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top