Command RECALL Foundation
Removes the deletion flag for one or more records.
RECALL ;
[FOR <lForCondition>] ;
[WHILE <lWhileCondition>] ;
[NEXT <nCount>] ;
[RECORD <xRecordID>] ;
[REST] ;
[ALL] ;
[IN <nWorkArea> | <cAlias> ] ;
[NOOPTIMIZE]
The file command RECALL removes the deletion flag from records in the current work area. When the command is used without further specifications, it removes the "Deleted" status only for the current record. The deletion flag is set by the command DELETE or the function DbDelete(), which cause only a logical deletion of data records.
The visibility of records having the "Deleted" flag can be set using the command SET DELETED ON | OFF. Prior to the execution of the command RECALL, SET DELETED must be OFF. Otherwise the "Deleted" data records are not visible. The command PACK permanently deletes all data records with deletion flags from the file. After PACK is called, the deleted records can no longer be "undeleted" using RECALL.
The function DbRecall() used with DbEval() is the functional equivalent of the command RECALL.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.