Venice
Accnt::Update
 
Updates an Account card.
 
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
CreateAccnt
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pAccnt->SeekBySysNum (smLast, 0))
    pAccnt->Update (umDialog);

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

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

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