Venice
Suppl::Delete
 
Deletes a Supplier 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
CreateSuppl
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pSuppl->SeekBySysNum (smLast, 0))
    pSuppl->Delete (dmFullReport);

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

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

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