Subject | Re: [IBO] TIB_Query.FieldByName |
---|---|
Author | Geoff Worboys |
Post date | 2001-08-31T01:45:46Z |
> I find it a bit inconvenient that I cannot checkYes you can.
> TIB_Query for a fieldname without risking an exception.
var
tmpCol: TIB_Column;
begin
if IB_Query.Fields.GetByName( 'AFIELD', tmpCol ) then
begin
<do something with tmpCol>
end;
end;
As a side note: Remember that Fields nad BufferFields properties are
TIB_Row instances. So if you check out the properties and methods of
TIB_Row in the online help you can find a number of interesting and
useful features.
HTH
Geoff Worboys
Telesis Computing