Data-based transfers
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Data-based transfers
A typical data-based transfer differs from a widget-based transfer in that you directly reference the fields in a database (the record buffer) rather than the widgets visible on the display (the screen buffer). You might implement this type of transfer according to the following processing model:
- The user chooses tables and fields from the database to participate in the selected operation.
- The user indicates the operation (Cut, Copy, or Paste) to perform.
- The procedure sets the
CLIPBOARDhandleMULTIPLEattribute toTRUE, and for Cut or Copy (write) operations, sets theITEMS-PER-ROWattribute to the number of fields in each record participating in the transfer. - For a Cut/Copy operation, the procedure assigns each field to
the
VALUEattribute for each (selected) record in the table. For a Paste operation, the procedure assigns theVALUEattribute to the fields in each record created or updated in the table. - The procedure sets the
MULTIPLEattribute toFALSE, ending the operation.
Note that for Cut/Copy operations
on database fields you must access any noncharacter fields using
the STRING function. For Paste (read) operations,
your procedure must depend on the user to provide appropriately
formatted data items in the clipboard. Your database validation
functions can help to catch and respond to bad data in the clipboard.