|
Updates a Production Document Detail line. |
|
|
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 |
|
|
|
Samples |
|
|
C++ |
|
// Update the remark of the last inserted record
if (pProductDet->SeekBySysNum (smLast, 0))
{
pProductDet->SetFieldVal (cpdfRemark, "Remark via SDK");
pProductDet->Update (umFullReport);
}
|
|
|
C# |
|
// Update the remark of the last inserted record
if (oProductDet.SeekBySysNum (eSeekMode.smLast, 0))
{
oProductDet.SetFieldVal (eProductDetFld.cpdfRemark, "Remark via SDK");
oProductDet.Update (eUpdateMode.umFullReport);
}
|
|
|
VBS |
|
' Update the remark of the last inserted record
If oProductDet.SeekBySysNum(smLast, 0) Then
Call oProductDet.SetFieldVal(oProductDet.GetFieldID("Remark"), "Remark via SDK")
Call oProductDet.Update(umFullReport)
End If
|
|
|
VB.NET |
|
' Update the remark of the last inserted record
If oProductDet.SeekBySysNum(eSeekMode.smLast, 0) Then
oProductDet.SetFieldVal(eProductDetFld.cpdfRemark, "Remark via SDK")
oProductDet.Update(eUpdateMode.umFullReport)
End If
|
|