Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: clauslack on November 19, 2013, 03:51:45 pm

Title: Conditional If
Post by: clauslack on November 19, 2013, 03:51:45 pm
There some conditional if-then inside lazreport
some like this

if [SQLQuery3."FCBOCA"]<>'' then Factura: [SQLQuery3."FCBOCA"]


Regards
Title: Re: Conditional If
Post by: LacaK on February 15, 2014, 10:13:29 pm
there is IF function:
[IF(logical expresion, true string, false string)]
[IF(FCBOCA<>'', FCBOCA, '')]

or you can use also Script in LazReport.