Error iff whit a strin text

Stimulsoft Reports.NET discussion
Post Reply
zidmaldad
Posts: 2
Joined: Tue Jun 14, 2016 11:10 pm

Error iff whit a strin text

Post by zidmaldad »

Hi mi problem is to fuction:

{IIF((Comprobante.tipoDeComprobante=="ingreso"),"Nota de Credito","")}

erroor send in prewiew:

The error of compilation
The error of compilation is found in the 'Text' property of the 'Text79' component:
Se esperaba una expresión.

in expresiion click on "CHECK" is "OK"

what is the problem whit my fuction?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error iff whit a strin text

Post by HighAley »

Hello.

We need to reproduce the issue on our side to help you.
Please, send us your report template with sample data.

Thank you.
zidmaldad
Posts: 2
Joined: Tue Jun 14, 2016 11:10 pm

Re: Error iff whit a strin text

Post by zidmaldad »

tks for your answer HigAley, i have the solucion whit code:

{IIF((Comprobante.tipoDeComprobante="egreso"),"Nota de Credito","")}

tks :D

whith clic check send a one error. in prewiew is ok
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error iff whit a strin text

Post by HighAley »

Hello.

Great!
Let us know if you need our help.

Thank you.
Post Reply