|
Is the field virtual? |
|
|
VARIANT_BOOL IsFieldVirtual ( enum eSalesFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. salfSysNum (C++) or eSalesFld.salfSysNum (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 |
|
|
|
Samples |
|
|
C++ |
|
if (pSales->IsFieldVirtual (salfSysNum))
// This field can not be updated.
|
|
|
C# |
|
if (oSales.IsFieldVirtual (eSalesFld.salfSysNum))
// This field can not be updated.
|
|
|
VBS |
|
If oSales.IsFieldVirtual(oSales.GetFieldID("SysNum")) Then
' This field can not be updated.
End If
|
|
|
VB.NET |
|
If oSales.IsFieldVirtual(eSalesFld.salfSysNum) Then
' This field can not be updated.
End If
|
|