auto_stories Knowledge Base chevron_right Actions chevron_right Article

Copy Recordv5

This action creates a copy of the current record as a new record.

  

Properties

Description: Specifies a description for the action.

This description serves as a reference for developers, indicating the purpose of the action. The entered value is displayed in the Actions menu.

Heading: Defines the name displayed in the Form Action list.

The heading is also displayed when the Copy Record action is selected from other actions.

Message Delivery: Determines whether a notification is displayed after the record is copied. If this option is disabled, the Client displays the message "Copied to clipboard."

Run Condition: If the query entered in this field returns '0', the action will not be executed.

Request Confirmation: Determines whether confirmation is required before executing the action. When enabled, the Confirmation Message property becomes available, allowing you to define the message displayed to the user.

Example

Suppose you have a form containing three Text Box controls and a Button. Assign the Copy Record action to the button's When Clicked event and leave the Message Delivery property disabled.

When an existing record is open in the Client, click the Copy Record button.

mceclip9.png

 

A new record is created by copying the current record. You can then modify any of the copied values and save the record. When you view the table, both the original record and the newly copied record are displayed as separate entries.

mceclip10.png