Book::Delete (Interface: Book)
 
Deletes a Book 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
CreateBook
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pBook->SeekBySysNum (smLast, 0))
    pBook->Delete (dmFullReport);

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

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

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