Skip to main content
Version: 20 R7 BETA

DUPLICATE RECORD

DUPLICATE RECORD {( aTable )}

ParameterTypeDescription
aTableTableTable 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.

See also

SAVE RECORD

Properties

Command number225
Thread safe
Changes current record