|
Sets the value of a field. |
|
|
void SetFieldVal ( enum eBalanFld eFieldID, VARIANT vFieldValue ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. balfSysNum (C++) or eBalanFld.balfSysNum (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 account number to '125'
pBalan->SetFieldVal (balfAccount, "125");
|
|
|
C# |
|
// Set the value of the account number to '125'
oBalan.SetFieldVal (eBalanFld.balfAccount, "125");
|
|
|
VBS |
|
' Set the value of the account number to '125'
Call oBalan.SetFieldVal(oBalan.GetFieldID("Account"), "125")
|
|
|
VB.NET |
|
' Set the value of the account number to '125'
oBalan.SetFieldVal(eBalanFld.balfAccount, "125")
|
|