Venice
EdoWork::Delete
 
Deletes an electronic document from the work file.
 
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
CreateEdoWork
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pEdoWork->SeekBySysNum (smLast, 0))
    pEdoWork->Delete (dmFullReport);

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

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

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