I've been having some oddness with TBDEDataSet.Locate().
If I set an index with IndexFieldNames, and then Locate on those fields (or on the first few of those fields), it's always good. But if I do a Locate on something which I do not have indexed, or on an index other than the current one, then some of my Locate's fail.
The help claims that Locate will use an index if one exists, and if one doesn't, it will use a Filter. And stepping through the code, this seems to be what is happening; but the Filter attempt seems to fail, and I don't know why.
I'm using Paradox tables in Delphi 5 Update Pack 1 under Win XP. -- Doug Burbidge mailto:dougburbidge@yahoo.com
If I set an index with IndexFieldNames, and then Locate on those fields (or on the first few of those fields), it's always good. But if I do a Locate on something which I do not have indexed, or on an index other than the current one, then some of my Locate's fail.
The help claims that Locate will use an index if one exists, and if one doesn't, it will use a Filter. And stepping through the code, this seems to be what is happening; but the Filter attempt seems to fail, and I don't know why.
I'm using Paradox tables in Delphi 5 Update Pack 1 under Win XP. -- Doug Burbidge mailto:dougburbidge@yahoo.com