DUPLICATE RECORD
DUPLICATE RECORD {( aTable )}
Parameter | Type | Description | |
---|---|---|---|
aTable | Table | → | Table for which to duplicate the current record, or Default table, if omitted |
Description
DUPLICATE RECORD creates a new record for aTable that is a duplicate of the current record. The new record becomes the current record. If there is no current record, then DUPLICATE RECORD does nothing. You must use SAVE RECORD to save the new record.
DUPLICATE RECORD can be executed during data entry. This allows you to create a clone of the currently displayed record. Remember that you must first execute SAVE RECORD in order to save any changes made to the original record.
Compatibility note: Beginning with version 11 of 4D, this command no longer supports subtables.