ADD-LIKE-FIELD() method
- Last Updated: September 22, 2023
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
If you want to add fields from another table to the temp-table individually, or you need to
rename fields as you add them, use the ADD-LIKE-FIELD() method once for each field:
|
This method takes two arguments:
- The name of the field in the temp-table, as a character expression
- An identifier of the source field, which can be either its buffer-field handle or an expression evaluating to its name, with the table name qualifier (and, if necessary, its database name qualifier)
This example adds the
Region field from the SalesRep
table, which was not added in the ADD-FIELDS-FROM() method, and renames
it to Area:
|