AccProp::Update (Interface: AccProp)
 
Updates an Accounting Proposal.
 
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
CreateAccProp
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pAccProp->SeekBySysNum (smLast, 0))
    pAccProp->Update (umDialog);

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

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

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