Subject | Re: [IBO] TIBOQuery and SetRange |
---|---|
Author | Jason Wharton |
Post date | 2001-01-31T15:47:31Z |
I believe you must have an Order By clause defined and then SetRange applies
to those columns.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
to those columns.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: <bobz@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, January 31, 2001 1:54 AM
Subject: [IBO] TIBOQuery and SetRange
> I have recently converted a large application to IBObjects.
> To save time I used TIBOTable as a replacement for TTable. The app
> works OK although its a little slow on larger tables.
> I now am converting, as time permits, TIBOTables to TIBOQuery.
> However I am getting a 'No index is currently active' error when a
> SetRange function is executed.
>
> TIBOQuery doesn't have a IndexFieldNames property like TIBOTable so
> how does one use SetRange? Or is there a more efficient way to
> achieve the same result?
>
> Your help would be appreciated.
>
> Regards
>
> Bob