ComparePropertyValues(DataObject1: Object, DataObject2: Object): Object
Compares two Data Objects with comparable properties, and returns a string list of the Property Names where the objects have differing values. The string list returned is sorted alphabetically.
ComparePropertyValues function syntax has these named arguments:
Parameter |
Description |
Data Object 1 |
Required. The first data object to be compared. |
Data Object 2 |
Required. The data object to compare to Data Object 1. Must be the same class as Data Object 1. |
For example:
Dim CompareVals as Object
CompareVals = ComparePropertyValues(datINInvoice1, datINInvoice2)
Print "Properties that are different"
For I = 0 to CompareVals.Count - 1
Print CompareVals[I]
Next I