Skip to main content

FindChangedFields

FindChangedFieldsFunction​

Compares two tables and identifies differences at the field level.

Syntax​

FindChangedFields (table FirstTable, table SecondTable, vector MatchFields, vector CompareField1,CompareField2...)

Arguments​

ArgumentDescription
table FirstTableA table of the entries to be compared
table SecondTableSecond table of the entries to be compared
Vector Match fieldsArray of the columns on which the two tables are to be matched>
Vector CompareField1,CompareField2...Columns that need to be compared

Examples:

FindChangedFields([[FusionTestTable]],[[FusionTestTable2]],Array('IntColumn'),'PhoneNumCol')

Compares FusionTestTable and FusionTestTable2 tables by matching the rows on intColumn and identifies changes in PhoneNumberCol.