rsMergeReplaceOnly

Similar to rsMerge, but rows are only replaced; none are appended to the ResultSet rsNameTarget. In addition, new fields from rsNameSource are not added to rsNameTarget.

Type and Usage

Parameters

Takes three parameters:

  • The first parameter (rsNameTarget) is the ResultSet that will be modified by the merge.

  • The second parameter (rsNameSource) is the ResultSet containing the rows that will be merged into the target.

  • The third parameter (rsCommonField) is the field that occurs in both results sets that will be used as the basis of the merge

Output

  • Returns TRUE if the function is successful.

  • Returns FALSE if the function fails.

Example

<$rsMergeReplaceOnly(rsNameTarget, rsNameSource, rsCommonField) $>