ArtLoc::Delete (Interface: ArtLoc)
 
Deletes an Article Location 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
CreateArtLoc
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pArtLoc->SeekBySysNum (smLast, 0))
    pArtLoc->Delete (dmFullReport);

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

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

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