Subject Re: [IBO] TIB_Query.FieldByName
Author Jason Wharton
No, that is the job of the FindField() method.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <sveinpetter@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, August 30, 2001 10:39 AM
Subject: [IBO] TIB_Query.FieldByName


> I suggest that TIB_Query.FieldByName('somename') will return NIL
> instead of raising an exception when the fieldname does not exist.
> This is the normal behaviour of Delphi standard query components.
>
> I find it a bit inconvenient that I cannot check TIB_Query for a
> fieldname without risking an exception.
>
> Best regards
> pfewww