|
Sets the value of a field. |
|
|
void SetFieldVal ( enum eArtclFld eFieldID, VARIANT vFieldValue ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. artfSysNum (C++) or eArtclFld.artfSysNum (C# / VB.NET).
| |
| Remark: In VBS, this field identifier enumerations cannot be used! You should use GetFieldID to get a valid field identifier. |
| vFieldValue | [in] A VARIANT containing the value you want to give the requested field. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Set the value of the supplier number to 125
pArtcl->SetFieldVal (artfSupNumber, 125);
|
|
|
C# |
|
// Set the value of the supplier number to 125
oArtcl.SetFieldVal (eArtclFld.artfSupNumber, 125);
|
|
|
VBS |
|
' Set the value of the supplier number to 125
Call oArtcl.SetFieldVal(oArtcl.GetFieldID("SupNumber"), 125)
|
|
|
VB.NET |
|
' Set the value of the supplier number to 125
oArtcl.SetFieldVal(eArtclFld.artfSupNumber, 125)
|
|