Venice
ArtWrh::Update
 
Updates an Article Warehouse 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
CreateArtWrh
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pArtWrh->SeekBySysNum (smLast, 0))
    pArtWrh->Update (umDialog);

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

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

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