PreviousNextIndex

BUFFER-COMPARE statement

Performs a bulk comparison of two records (source and target) by comparing source and target fields of the same name for equality and storing the result in a field. You can specify a list of fields to exclude, or a list of fields to include. You can also specify WHEN...THEN phrases. For all such phrases you specify, the AVM evaluates the WHEN portion, and if it evaluates to TRUE, the AVM executes the THEN portion.

Syntax

BUFFER-COMPARE source 
  [ { EXCEPT | USING } field ... ] TO target  
  [ CASE-SENSITIVE | BINARY ] 
  [ SAVE [ RESULT IN ] result-field ]  
  [ [ EXPLICIT ] COMPARES ]: 
     [ WHEN field compare-operator expression 
        THEN statement-or-block ] ... 
  [ END [ COMPARES ] ] [ NO-LOBS ] [ NO-ERROR ] 

source
EXCEPT field
USING field
TO target
CASE-SENSITIVE
BINARY
SAVE RESULT IN result-field
EXPLICIT COMPARES
WHEN field
compare-operator
expression
THEN statement-or-block
END COMPARES
NO-LOBS
NO-ERROR
Notes
See also

BUFFER-COPY statement


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex