ken bohnenkamp
5th February 2003, 16:53
Can anyone tell me why when I am on a form and I do a find on a secondary key using the binoculars some times it doesn't find the record I am looking for, but it goes to the next record after the one I am looking for. I find that many times I have to click the previous record choice of the form to get to the record I want. Why does Baan work like this.
morpheus
5th February 2003, 17:11
I don't think there is some problem with BaaN, as I never experienced such a problem.
But, if there is more than one field in any index, and if you are searching for a record which occurs (in index) before the current record, on form, then it behaves the way you have described. Also, this will happen if search criteria is not completely defined.
evesely
5th February 2003, 19:22
To expands on morpheus' last point, in order to ensure that you hit the right record, you need to fill all of the fields on the index in question. Often what happens is that a user will fill the first couple of fields of the index and not fill nor blank-out/zero-out the other "less interesting" fields on the index. The values used for these fields in the search are then the values of the record from which you started the search.
Moral of the story: fill in all of the fields, blank/zero those that are of no importance, or be prepare to possibly back up a record.
I hope that makes sense.
Paul P
6th February 2003, 03:13
Dear all,
I observed the same behavious as Ken did. Sometimes even if you filled up all the fields in search form, BaanERP still can't find it. One example would be whinh3520m000 Receipts. There are few other sessions that exhibits this anomaly, and if you're experienced with AFS you sure will know which sessions they are. If you're experiencing problem with "find" in AFS, pls look at AFS forum in this board for some workarounds
Rgds,
Paul
OmeLuuk
6th February 2003, 11:06
I'd advice loggin what the DBDriver gets asked by the application (TT_SQL_TRACE) and what the DBDriver asks the DBMS and what the DBMS returns (DBSLOG) to try to understand what happens why.