2022.2

Table Of Contents
Conditional Print sections
YoucanincludeorexcludeentirePrintsectionsfromtheoutput,dependingonafield’svalue.Thiscan
bedoneusingtheConditionalPrintSectionScriptWizard,describedbelow.Alternativelyyoucould
writeaControlScript(see"ControlScripts"onpage398).
IncludingorexcludingPrintsectionsusingtheConditionalPrintSectionScriptwizard
ToopentheConditionalPrintSectionScriptwizard:
l
Right-clickthesectionandclickMake Conditional.
l
AlternativelyclicktheblacktriangleontheNewbuttonontheScriptspaneatthebottomleftof
thewindow,andclickConditional Print Section Script.Double-clickthenewscripttoopenthe
ConditionalPrintSectionScriptwizard.
Inthewizard,firstmakethefollowingsettings.
1. Renamethescriptsothatitreflectswhatthescriptdoes.
Scriptscanonlyhavethesamenamewhentheyarenotinthesamefolder.(See"Managing
scripts"onpage374.)
2. Selectthesectionyouwanttoputaconditionon.
3. SettheAction:PrintorSkipthatisperformedwhentheconditionbelowistrue.Theopposite
actionisappliedwhentheconditionreturnsfalse.
Oncethesesettingshavebeenmade,theconditioncanbebuild.
The Addbuttonaddsarulethatevaluatesadata fieldtoagroup.
Toaddeitheragroup,orarulethatevaluatesaruntime parameter,clickthedownwardpointing
arrownexttothisbuttonandselectGrouporParameter Rule.
Creatingaparameterruleisonlypossibleifthetemplatecontainsruntimeparameters;seeRuntime
parameters.
Therule(s)applyataGrouplevel.Theremaybeoneruleormanyrulesatthesamelevel,andthere
maybegroupswithingroups,providingtheabilitytocreatequitecomplexnestedlogicalstructures.
Group
Agroupconsistsofoneormoreruleswithalogicoperator.Fourlogicchoicesareavailableatthe
Grouplevel.Theseare:
l
All of the following.
Thisequatestothelogicaloperator(...AND...).
Ifalloftheassociatedcriteriaaremet,thenthisgroupresolvestoTRUE.
Page 322