FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlxMemTable.FieldByName Method

Finds a field based on its name.

Pascal
function FieldByName(const Name: string): IXlsField;
C++
__fastcall IXlsField FieldByName(const AnsiString Name);
Parameters 
Description 
const Name: string 
Name of an existing field for which we want to get information. 

Call FieldByName to retrieve field information for a field given its name. FieldByName returns the TField component that represents the specified field. If the specified field does not exist, FieldByName raises an exception.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!