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