remove

Examples


The remove statement removes the current record or a range of records from the specified table.

Syntax

remove {range} table table_name

Parameters

range – Causes the entire set of records that fall within the currently active range to be removed. If this keyword isn’t used, only the record in the table buffer will be removed from the table.

table table_name – The name of the table from which a record or range of records will be removed.

Comments

To remove a single record, the record must have been read using either the edit table statement or the change statement, because the record must be locked to be removed.

The record must be actively locked to guarantee that no other user in a multi-user system will be accessing the record when it’s removed.

If the remove range statement is used for a table for which a range hasn’t been set, all of the records in the table will be removed.


Documentation Feedback