Venice
ArtSup::Delete
 
Deletes an Article 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
CreateArtSup
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pArtSup->SeekBySysNum (smLast, 0))
    pArtSup->Delete (dmFullReport);

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

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

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