|
Sets the value of a field. |
|
|
void SetFieldVal ( enum ePayWorkFld eFieldID, VARIANT vFieldValue ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. pwkfSysNum (C++) or ePayWorkFld.pwkfSysNum (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 communication of the beneficiary to 'Payment invoice'
pPayWork->SetFieldVal (pwkfBenCommunication, "Payment invoice");
|
|
|
C# |
|
// Set the value of the bank code to 'Payment invoice'
oPayWork.SetFieldVal (ePayWorkFld.pwkfBenCommunication, "Payment invoice");
|
|
|
VBS |
|
' Set the value of the bank code to 'Payment invoice'
Call oPayWork.SetFieldVal(oPayWork.GetFieldID("BenCommunication"), "Payment invoice")
|
|
|
VB.NET |
|
' Set the value of the bank code to 'Payment invoice'
oPayWork.SetFieldVal(ePayWorkFld.pwkfBenCommunication, "Payment invoice")
|
|