i have following problem:
Code: Select all
IIF(Result.PaymentMethodSL_dynPaymentMethod ==True,Format("{0:dd.MM.yyyy}",Result.InvoicePaymentSL_CDDate),Format("{0:dd.MM.yyyy}",Result.RPTransactions_CDDueDate)
In the result of the report following error message will be shown:
The field PaymentMethodSL_dynPaymentMethod is a BOOLEAN field. How can i set the if condition for boolean fields? Thank you in advance.Umwandlungsfehler
Der Kompilierungsfehler wurde in der Eigenschaft 'Text' der Komponente 'Text1' gefunden:
Der Name 'True' ist im aktuellen Kontext nicht vorhanden.