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

AVEVA™ Plant SCADA

GrpDelete

  • Last UpdatedJul 18, 2023
  • 1 minute read

Deletes a single element or all elements from a group. You can also delete another group from within the group.

Syntax

GrpDelete(hGrp, Value)

hGrp:

The group handle, returned from the GrpOpen() function. The group handle identifies the table where all data on the associated group is stored.

Value:

The element to delete from the group, from 0 to 16375.

• Set Value to -1 to delete all elements from the group.

• Set Value to a group handle to delete another group from this group.

Return Value

0 (zero) if successful, otherwise an error is returned.

GrpInsert, GrpOpen

Example

! Delete 10 and 14 from a group.
GrpDelete(hGrp,10);
GrpDelete(hGrp,14);

See Also

Group Functions

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