|
Updates an Analytical Unit 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 unit entry to 'Updated via SDK'
if (pAnUnt->SeekBySysNum (smLast, 0))
{
pAnUnt->SetFieldVal (anufRemark, "Updated via SDK");
pAnUnt->Update (umFullReport);
}
|
|
 |
C# |
|
// Update the remark of the last inserted analytical unit entry to 'Updated via SDK'
if (oAnUnt.SeekBySysNum (eSeekMode.smLast, 0))
{
oAnUnt.SetFieldVal (eAnUntFld.anufRemark, "Updated via SDK");
oAnUnt.Update (eUpdateMode.umFullReport);
}
|
|
 |
VBS |
|
' Update the remark of the last inserted analytical unit entry to 'Updated via SDK'
If oAnUnt.SeekBySysNum(smLast, 0) Then
Call oAnUnt.SetFieldVal(oAnUnt.GetFieldID("Remark"), "Updated via SDK")
Call oAnUnt.Update(umFullReport)
End If
|
|
 |
VB.NET |
|
' Update the remark of the last inserted analytical unit entry to 'Updated via SDK'
If oAnUnt.SeekBySysNum(eSeekMode.smLast, 0) Then
oAnUnt.SetFieldVal(eAnUntFld.anufRemark, "Updated via SDK")
oAnUnt.Update(eUpdateMode.umFullReport)
End If
|
|