xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

NetDelete()

Marks records for deletion.

Syntax

NetDelete() --> lSuccess

Return

The function returns .T. (true) when the current database record is successfully marked for deletion, otherwise .F. (false) is returned.

Description

NetDelete() is a network function used in shared database access. The function marks the current database record as deleted. If the record cannot be marked for deletion due to the record being locked by another process, the function retries the operation for a maximum of SetNetDelay() seconds and prompts the user if the operation should be retried or aborted.

The function uses DbDelete() and implements additional default logic for record deletion in a network when the record cannot be marked for deletion at the moment. Refer to DbDelete() for more information on deleting records.

Info

See also:DbDelete(), DELETE, Deleted(), NetRecall(), PACK, RECALL
Category: Database functions , Network functions , xHarbour extensions
Source:rtl\ttable.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe