Venice
Locat::Delete
 
Deletes a location 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
CreateLocat
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pLocat->SeekBySysNum (smLast, 0))
    pLocat->Delete (dmFullReport);

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

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

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