ArtSrl::Update (Interface: ArtSrl)
 
Updates a Serial Number 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
CreateArtSrl
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pArtSrl->SeekBySysNum (smLast, 0))
    pArtSrl->Update (umDialog);

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

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

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