Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
LazReport
»
Conditional If
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Problems on Windows 10
by
Peter H
[
Today
at 06:55:43 pm]
Strange filenames .....
by
ASBzone
[
Today
at 06:55:05 pm]
Cant Find Certain Dll
by
ASBzone
[
Today
at 06:33:51 pm]
Online Package Manager
by
zgabrovski
[
Today
at 06:33:06 pm]
Parallel Code
by
ASBzone
[
Today
at 06:33:02 pm]
Seems TreeView programmat...
by
Alextp
[
Today
at 06:11:01 pm]
Browser Automation with s...
by
Jurassic Pork
[
Today
at 04:29:44 pm]
Problem with POST
by
Vodnik
[
Today
at 03:51:59 pm]
FPLite?
by
marcov
[
Today
at 03:48:38 pm]
FileExists() behaviour ch...
by
marcov
[
Today
at 02:41:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Conditional If (Read 2262 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
Logged
LacaK
Hero Member
Posts: 606
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.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
LazReport
»
Conditional If
TinyPortal
© 2005-2018