Locat::Update (Interface: Locat)
 
Updates a location 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
CreateLocat
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pLocat->SeekBySysNum (smLast, 0))
    pLocat->Update (umDialog);

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

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

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