Venice
Cntry::Delete
 
Deletes a Country 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
CreateCntry
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pCntry->SeekBySysNum (smLast, 0))
    pCntry->Delete (dmFullReport);

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

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

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