Subject Re: [IBO] Questions of style, slightly off topic.
Author Paul Gallagher
I usually use this method. It works in almost all situations.

IB_Query1['FIELDNAME']

Paul Gallagher

----- Original Message -----
From: "Joseph Carney" <jcarney@...>
To: <IBObjects@egroups.com>
Sent: Thursday, January 25, 2001 8:46 AM
Subject: [IBO] Questions of style, slightly off topic.


> I am currently in a discussion with another programmer about coding style,
> with each of us
> having different opinions.
>
> Normally when I am referencing either an IBOQuery or a IB_Query I
reference
> with:
> query.fieldbyname('fieldname').AsString.....
> My compatriot seems to prefer:
> query.Fields.FieldByName('fieldname').AsString...
>
> My question is, which method is more efficient in terms of runtime
execution
> speed?
> Is the extra typing worth it?
>
> Just trying to settle a friendly difference of opinion.
>
>
> Joe Carney
> West Palm Beach, FL
> jcarney@...
>
>
>
>
>