|
Sets the value of a field. |
|
|
void SetFieldVal ( enum ePerPayFld eFieldID, VARIANT vFieldValue ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. perfSysNum (C++) or ePerPayFld.perfSysNum (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 description to 'Rent payment %ClMonth%/%ClYear%'
pPerPay->SetFieldVal (perfDescription, "Rent payment %ClMonth%/%ClYear%");
|
|
|
C# |
|
// Set the value of the description to 'Rent payment %ClMonth%/%ClYear%'
oPerPay.SetFieldVal (ePerPayFld.perfDescription, "Rent payment %ClMonth%/%ClYear%");
|
|
|
VBS |
|
' Set the value of the description to 'Rent payment %ClMonth%/%ClYear%'
Call oPerPay.SetFieldVal(oLocat.GetFieldID("Description"), "Rent payment %ClMonth%/%ClYear%")
|
|
|
VB.NET |
|
' Set the value of the description to 'Rent payment %ClMonth%/%ClYear%'
oPerPay.SetFieldVal(ePerPayFld.perfDescription, "Rent payment %ClMonth%/%ClYear%")
|
|