Venice
Accnt::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    enum eAccntFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. accfSysNum (C++) or eAccntFld.accfSysNum (C# / VB.NET).
 
Remark: In VBS, this field identifier enumerations cannot be used! You should use GetFieldID to get a valid field identifier.
 
See Also
CreateAccnt
 
Samples
 
C++
 
if (pAccnt->IsFieldVirtual (accfSysNum))
    // This field can not be updated.

C#
 
if (oAccnt.IsFieldVirtual (eAccntFld.accfSysNum))
    // This field can not be updated.

VBS
 
If oAccnt.IsFieldVirtual(oAccnt.GetFieldID("SysNum")) Then
    ' This field can not be updated.
End If

VB.NET
 
If oAccnt.IsFieldVirtual(eAccntFld.accfSysNum) Then
    ' This field can not be updated.
End If