2022.2

Table Of Contents
Properties
Property Description
copies Thetotalnumberofcopiesofthecurrentrecordthatmustbecreated.Bydefault,thisis1.Thisvalueisusedwhentherecordis
saved,attheendofthedatamappingprocessforeachrecord.
fields Thefieldvaluesthatbelongtothisrecord.Youcanaccessaspecificfieldvalueusingeitheranumericindexorthefieldname.
index Theone-basedindexofthisrecord,orzeroifnodataisavailable.
tables Thedetailtablesthatbelongtothisrecord.Youcanaccessaspecifictableusinganumericindexorthetablename;see
"table"onpage402.
Example
SeethisHow-toforanexampleofhowthecurrentrecord indexand/orthetotalnumberofrecordsin
therecordsetcanbedisplayedinadocument:Howtogettherecordindexandcount.
Methods
Note: Thesemethodscannotbeusedinpost-processorscripts,becausetheyoperateonthecur-
rentrecordbeforeitiswrittentothedatabase.
Method Description
"set(record)"onpage391 Setsfieldvaluesinthecurrentrecord.
"setCopy(i,record)"onpage392 Setsfieldvaluesinacopyofthecurrentrecord.
region
Theregionobjectdefinesasub-sectionoftheinputdata.Itspropertiesvaryaccordingtothetypeof
data.
ThisobjectisavailablewhentriggeringdocumentboundariesOn script,withallfiletypes;see"Setting
boundariesusingJavaScript"onpage364.
Properties
Thefollowingtabledescribesthepropertiesandmethodsoftheregionobject.
Page 394