Warehouse::Delete (Interface: Warehouse)
 
Deletes a Warehouse card.
 
void Delete (
    enum eDeleteMode eDeleteMode
)
 
Parameters
eDeleteMode
[in] A value of the 'eDeleteMode' enumeration.
 
Remarks
After deleting a record, no further actions can be executed on the record, although the methods GetNext and GetPrevious are still valid.
 
See Also
CreateWarehouse
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pWarehouse->SeekBySysNum (smLast, 0))
    pWarehouse->Delete (dmFullReport);

C#
 
// Delete the last inserted record
if (oWarehouse.SeekBySysNum (eSeekMode.smLast, 0))
    oWarehouse.Delete (eDeleteMode.dmFullReport);

VBS
 
' Delete the last inserted record
If oWarehouse.SeekBySysNum(smLast, 0) Then
    Call oWarehouse.Delete(dmFullReport)
End If

VB.NET
 
' Delete the last inserted record
If oWarehouse.SeekBySysNum(eSeekMode.smLast, 0) Then
    oWarehouse.Delete(eDeleteMode.dmFullReport)
End If