Venice
Lookup::IsFieldPublic
 
Is the field public?
 
VARIANT_BOOL IsFieldPublic (
    enum eLookupFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. lkpfSysNum (C++) or eLookupFld.lkpfSysNum (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
CreateLookup
 
Samples
 
C++
 
if (pLookup->IsFieldPublic (lkpfSysNum))
    // This field can be updated.

C#
 
if (oLookup.IsFieldPublic (eLookupFld.lkpfSysNum))
    // This field can be updated.

VBS
 
If oLookup.IsFieldPublic(oLookup.GetFieldID("SysNum")) Then
    ' This field can be updated.
End If

VB.NET
 
If oLookup.IsFieldPublic(eLookupFld.lkpfSysNum) Then
    ' This field can be updated.
End If