Subject FieldByName Bug?
Author sllimr7139
I believe I've run into a bug using TIB_Cursor and FieldByName.
I've got the following query:

select EVENTID, EVENTDATETIME, EVENTENDDATE, EVENTDURATION,
EVENTOCCURANCE, EVENTXOCCURANCE, EVENTXWEEKDAYS,
EVENTXDOMONTH, EVENTTITLE
from events
where ((eventoccurance=0) and (eventdatetime >= :startdate) and
(eventdatetime <= :enddate)) or
((eventoccurance > 0) and (eventenddate >= :enddate1))
order by eventoccurance, eventdatetime

In my delphi code I'm trying to access the field EventXOccurance
(Index 5) but the FieldByName returns EventOccurance (Index 4). I've
never seen this problem before and I use FieldByName alot.

I'm wondering if this has been found before and if so how do I fix it
other than reference the fields property by index.

Ryan