Главная страница | назад





Article #16885: error Index out of range with TTable FindNearest or FindKey

 Question and Answer Database

FAQ1885C.txt   error Index out of range  with TTable FindNearest or FindKey
Category   :Database Issues
Platform    :All
Product    :C++Builder  1.x

Question:
Why do I get 'Index out of range' when I use TTable::FindNearest 
and TTable::FindKey on a dBASE table with an expression index?

Answer:
FindKey and FindNearest are not meant to work with dBASE 
expression indexes. Instead, use TTable::GoToKey and
TTable::GotoNearest, which will work fine with dBASE 
expression indexes.

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99