ArtGrp::Delete (Interface: ArtGrp)
 
Deletes an Article Group 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
CreateArtGrp
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pArtGrp->SeekBySysNum (smLast, 0))
    pArtGrp->Delete (dmFullReport);

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

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

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