Venice
MaCrd::Delete
 
Deletes a Material Assets 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
CreateMaCrd
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pMaCrd->SeekBySysNum (smLast, 0))
    pMaCrd->Delete (dmFullReport);

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

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

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