Optional. Default = 1.
- 1 = Alpha Anywhere displays a confirmation dialog after the new record is created.
- 2 = Alpha Anywhere does not display a confirmation dialog.
Duplicates the current record.
The <OBJECT>.DUPLICATE_RECORD() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.DUPLICATE_RECORD() method creates a new record that is a duplicate of the current record and then moves focus to the new record. The method returns the number of the new record.
This script which is attached to a button on a form duplicates the current record:
Desktop applications only.