RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DRIntf.FindFieldID Function

Returns the ID of a specified field.

Pascal
function FindFieldID(const Table: TTableID; const Field: string): TFieldID;
C++
TFieldID FindFieldID(const TTableID Table, const AnsiString Field);

DRIntf

Call FindFieldID to get the ID for a field that is stored in the field dictionary. Use this field ID to get or set an associated attribute set or to use as a basis when creating a new field component. 

The Table parameter specifies the ID of the table that contains the field. The Field parameter specifies the name of the field. 

If the Data Dictionary does not contain an entry for the specified field, FindFieldID returns a null ID. 

 

GetAttrID 

FindTableID 

IsNullID 

UpdateAttr 

createField 

UpdateField 

UnassociateAttr 

AssociateAttr 

The Data Dictionary

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!