Venice
PerPay::Delete
 
Deletes a Periodical Payment 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
CreatePerPay
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pPerPay->SeekBySysNum (smLast, 0))
    pPerPay->Delete (dmFullReport);

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

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

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