EdoWork::Update (Interface: EdoWork)
 
Updates an electronic document in the work file.
 
void Update (
    enum eUpdateMode eUpdateMode
)
 
Parameters
eUpdateMode
[in] A value of the 'eUpdateMode' enumeration.
 
Remarks
Updating a record destroys the object positioning that was previously established via a SeekBy-method and the GetNext/GetPrevious-methods. The results of calling GetNext or GetPrevious after an update are not guaranteed.
 
See Also
CreateEdoWork
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pEdoWork->SeekBySysNum (smLast, 0))
    pEdoWork->Update (umDialog);

C#
 
// Update the last inserted record using the dialog
if (oEdoWork.SeekBySysNum (eSeekMode.smLast, 0))
    oEdoWork.Update (eUpdateMode.umDialog);

VBS
 
' Update the last inserted record using the dialog
If oEdoWork.SeekBySysNum(smLast, 0) Then
    Call oEdoWork.Update(umDialog)
End If

VB.NET
 
' Update the last inserted record using the dialog
If oEdoWork.SeekBySysNum(eSeekMode.smLast, 0) Then
    oEdoWork.Update(eUpdateMode.umDialog)
End If