Navigation:  Classes > bArrayServer >

bArrayServer:Delete()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Delete the current record.

Class

bArrayServer

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

lSuccessA logical value indicates whether the record was deleted.
TRUEThe record was deleted.
FALSEThe 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:DeletedScope

bArrayServer:IsDeletedInScope()

bArrayServer:Notify()

bArrayServer:Recall()

 


Page url: http://www.YOURSERVER.com/index.html?barrayserver_delete.htm