Subject | Search Data without refetching |
---|---|
Author | ra8009 |
Post date | 2006-04-29T23:52:37Z |
I'm using an IB Cursor to retrieve a list of dates and times. Now I
need a very fast way to check the data (at most 200 hundred records)
to see if a particular date and time is in it.
I could use a parameterized query to check for individual
times(instead of getting the whole list), but this is too slow as the
operation needs to run up to a few hundred times in a span that's
imperceptible to the user.
How can I search the data without having to go to the server to
refetch the results? Will using "locate" cause the data to be requeried?
need a very fast way to check the data (at most 200 hundred records)
to see if a particular date and time is in it.
I could use a parameterized query to check for individual
times(instead of getting the whole list), but this is too slow as the
operation needs to run up to a few hundred times in a span that's
imperceptible to the user.
How can I search the data without having to go to the server to
refetch the results? Will using "locate" cause the data to be requeried?