table.IS_DELETED Function

Syntax

Result_Flag as L = Is_Deleted()

Description

Is the current record Deleted.

Discussion

The <TBL>.IS_DELETED() method returns .T. (TRUE) if the current record has been deleted.

Example 

This script deletes the current record, then checks to see if its status is "Deleted".

dim tbl as P
tbl = table.current()
tbl.change_begin()
tbl.delete()
tbl.change_end(.T.)
status = tbl.is_deleted()

See Also