DELETED()

Advantage Concepts

Advantage Expression Engine function that returns the deleted status of the current record

Syntax

DELETED() à lDeleted

Return Values

DELETED() returns true (.T.) if the current record is marked for deletion; otherwise, it returns false (.F.).

Remarks

DELETED() is a database function that determines if the current record in the table is marked for deletion. Since each table has a current record, each table has its own DELETED() value. This Expression Engine function applies to DBF tables only since deleted records in Advantage Proprietary ADT tables cannot be accessed.

Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.

See Also

Advantage TDataSet Descendant

AdsDeleteRecord

AdsPackTable

AdsRecallRecord

AdsIsRecordDeleted

TAdsSettings.ShowDeleted

Advantage Client Engine API

AdsDeleteRecord

AdsShowDeleted

AdsPackTable

AdsRecallRecord

AdsIsRecordDeleted