Venice
Finan::SetFieldVal
 
Sets the value of a field.
 
void SetFieldVal (
    enum eFinanFld eFieldID,
    VARIANT vFieldValue
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. finfSysNum (C++) or eFinanFld.finfSysNum (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
CreateFinan
GetFieldVal
GetFieldStr
GetFieldID
 
Samples
 
C++
 
// Set the value of the currency code to 'EUR'
pFinan->SetFieldVal (finfCurrency, "EUR");

C#
 
// Set the value of the currency code to 'EUR'
oFinan.SetFieldVal (eFinanFld.finfCurrency, "EUR");

VBS
 
' Set the value of the currency code to 'EUR'
Call oFinan.SetFieldVal(oFinan.GetFieldID("Currency"), "EUR")

VB.NET
 
' Set the value of the currency code to 'EUR'
oFinan.SetFieldVal(eFinanFld.finfCurrency, "EUR")