Venice
AccProp::Delete
 
Deletes an Accounting Proposal.
 
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
CreateAccProp
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pAccProp->SeekBySysNum (smLast, 0))
    pAccProp->Delete (dmFullReport);

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

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

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