CtLnk::Update (Interface: CtLnk)
 
Updates a Contact-firm link 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
CreateCtLnk
SeekBySysNum
 
Samples
 
C++
 
// Update the last inserted record using the dialog
if (pCtLnk->SeekBySysNum (smLast, 0))
    pCtLnk->Update (umDialog);

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

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

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