Venice
ComAs::Update
 
Updates a Commercial Sales Agreement.
 
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
CreateComAs
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pComAs->SeekBySysNum (smLast, 0))
    pComAs->Update (umDialog);

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

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

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