Recent

Author Topic: Conditional If  (Read 2089 times)

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Conditional If
« 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

LacaK

  • Hero Member
  • *****
  • Posts: 577
Re: Conditional If
« Reply #1 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.