CustomMerge

Syntax

CustomMerge(&ADSRowset,&ADSName,&CompareType)

Description

This method is implemented by object owners to provide custom merge logic. If merge groups are present in the data set, then prior to compare, validate and copy each instance in the source project file is copied to memory, and the corresponding target is also copied into memory. The merge groups attributes from the in-memory source rowset are copied into the in-memory target rowset. The resulting rowset is then passed to CustomMerge to allow programmatic adjustments.

Parameters

Parameter Description

&ADSRowset

Specifies the current in-memory data set instance as a rowset object.

&ADSName

Specifies the ADS name as a string.

&CompareType

Specifies the compare type as integer:

  • 4 indicates premerge

    The premerge call is called after the default merge has been performed but before compare is run and before the user modifies merge options.

  • 1 indicates post merge

    The post merge validation is executed after a user has changed the merge options and prior to copy.