Subject | Locate - lopFindNearest - doesn't work at EOF |
---|---|
Author | Michael L. Horne |
Post date | 2002-03-28T07:15Z |
Hello Jason,
I have noticed that when I use the following code in my program
qySearch.Locate(qySearch.SearchingLink, edFind.Text,
[lopPartialKey, lopFindNearest]);
if I am attempting to locate a value that exist in the file, or has
some records following it, the locate takes you to the correct
record, however, if I try to search for a value that is past the
last record the locate doesn't move. I would like it to move to
the last record. Is there any way to do this?
Thanks
Michael L. Horne
I have noticed that when I use the following code in my program
qySearch.Locate(qySearch.SearchingLink, edFind.Text,
[lopPartialKey, lopFindNearest]);
if I am attempting to locate a value that exist in the file, or has
some records following it, the locate takes you to the correct
record, however, if I try to search for a value that is past the
last record the locate doesn't move. I would like it to move to
the last record. Is there any way to do this?
Thanks
Michael L. Horne