Purpose
Delete the current record.
Class
Type
Method
Syntax
<oArrayServer>:Delete([<lIrrevocable>]) Æ lSuccess
Arguments
<lIrrevocable> | A logical value that determines whether the record is irrevocably deleted (TRUE) or marked for deletion (FALSE). As a default, the setting of bArrayServer:IsDeletedInScope() is used. |
Data type: | Logic |
Return Value
lSuccess | A logical value indicates whether the record was deleted. |
TRUE | The record was deleted. |
FALSE | The record could not be deleted. |
Data type: | Logic |
Description
In contrast to the class DBServer, a bArrayServer record can not only be marked for deletion, but also be physically and irrevocably deleted.
A record marked as deleted can be recalled with the method bArrayServer:Recall() . This means that the delete marker is removed again. Depending on the property bArrayServer:IsDeletedInScope() records marked as deleted are invisible and record movements are not considered.
On successful deletion, the bArrayServer sends
• | NotifyDelete message, if the record were marked as deleted. |
• | NotifyFileChange message, if the record were irrevocably deleted. |
See Also
bArrayServer:IsDeletedInScope()
Page url: http://www.YOURSERVER.com/index.html?barrayserver_delete.htm