|
Updates an Analytical Centre entry. |
|
|
void Update ( enum eUpdateMode eUpdateMode ) |
|
|
Parameters | eUpdateMode | [in] A value of the 'eUpdateMode' enumeration. | | Remarks |
| An entry cannot be updated using the dialog (eInsertMode = imDialog or eInsertMode = imDialogFromData), this mode is not supported in this version. |
| 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 |
|
|
|
Samples |
|
|
C++ |
|
// Update the remark of the last inserted analytical centre entry to 'Updated via SDK'
if (pAnCnt->SeekBySysNum (smLast, 0))
{
pAnCnt->SetFieldVal (ancfRemark, "Updated via SDK");
pAnCnt->Update (umFullReport);
}
|
|
|
C# |
|
// Update the remark of the last inserted analytical centre entry to 'Updated via SDK'
if (oAnCnt.SeekBySysNum (eSeekMode.smLast, 0))
{
oAnCnt.SetFieldVal (eAnCntFld.ancfRemark, "Updated via SDK");
oAnCnt.Update (eUpdateMode.umFullReport);
}
|
|
|
VBS |
|
' Update the remark of the last inserted analytical centre entry to 'Updated via SDK'
If oAnCnt.SeekBySysNum(smLast, 0) Then
Call oAnCnt.SetFieldVal(oAnCnt.GetFieldID("Remark"), "Updated via SDK")
Call oAnCnt.Update(umFullReport)
End If
|
|
|
VB.NET |
|
' Update the remark of the last inserted analytical centre entry to 'Updated via SDK'
If oAnCnt.SeekBySysNum(eSeekMode.smLast, 0) Then
oAnCnt.SetFieldVal(eAnCntFld.ancfRemark, "Updated via SDK")
oAnCnt.Update(eUpdateMode.umFullReport)
End If
|
|