Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

control​.remove()

  • Last UpdatedApr 24, 2024
  • 1 minute read

Use remove() method to delete a control from a record on the Base Form.

Syntax

// B1 is a Base Form object.

var recordToBeDeleted = B1.records()[1];

recordToBeDeleted.remove();

Parameters

None.

Return Value

None.

Example

// Define a Base Form object.

var B1 = control.findById("B1");

// Set the control to be deleted from the record of the Base Form.

var recordToBeDeleted = B1.records()[1];

// Delete the control from the record of the Base Form.

recordToBeDeleted.remove();

Refer to Delete Record in a Base Form Control for more example(s).

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in