PreviousNextIndex

RAW-TRANSFER statement

Copies a record wholesale from a source to a target.

Syntax

RAW-TRANSFER 
  {      [ BUFFER ]  buffer     TO  [ FIELD ]   raw-field 
     |   [ FIELD ]   raw-field  TO  [ BUFFER ]  buffer 
     |   [ BUFFER ]  buffer     TO  [ BUFFER ]  buffer  
  } 
  [ NO-ERROR ] 

BUFFER
buffer
FIELD
raw-field
NO-ERROR
Example

The following ABL example performs a RAW-TRANSFER of a newly created Customer record to the Record field of Replication-Log table:

TRIGGER PROCEDURE FOR REPLICATION-CREATE OF Customer. 
CREATE Replication-Log. 
ASSIGN  
  Replication-Log.Taskid = DBTASKID(LDBNAME(BUFFER Replication-Log)) 
  Replication-Log.Table  = ’Customer’ 
  Replication-Log.Action = ’CREATE’. 
RAW-TRANSFER Customer TO Replication-Log.Record. 

For more information on database replication, see OpenEdge Data Management: Database Administration.

Notes
See also

DISABLE TRIGGERS statement, LDBNAME function, RAW-TRANSFER( ) method, RECORD-LENGTH function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex