RDD

DbRecall()

Reinstate a record marked for deletion

Syntax

Signature
DbRecall() --> NIL

Arguments

None.

Return value

NIL.

Description

DbRecall() clears the deletion mark on the current record in the current work area. It can restore a record until DbPack() removes it physically.

Notes

The current work area must be writable.

Example

DbRecall.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   DbRecall()
   QOut( "Deleted after recall: " + IIF( Deleted(), "YES", "NO" ) )
   DbCloseArea()

   RETURN

Output

See also