|
Sets the value of a field. |
|
|
void SetFieldVal ( enum eCrncyFld eFieldID, VARIANT vFieldValue ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. crnfSysNum (C++) or eCrncyFld.crnfSysNum (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 Dutch name to 'Euro'
pCrncy->SetFieldVal (crnfCurrencyNld, "Euro");
|
|
|
C# |
|
// Set the value of the Dutch name to 'Euro'
oCrncy.SetFieldVal (eCrncyFld.crnfCurrencyNld, "Euro");
|
|
|
VBS |
|
' Set the value of the Dutch name to 'Euro'
Call oCrncy.SetFieldVal(oCrncy.GetFieldID("CurrencyNld"), "Euro")
|
|
|
VB.NET |
|
' Set the value of the Dutch name to 'Euro'
oCrncy.SetFieldVal(eCrncyFld.crnfCurrencyNld, "Euro")
|
|