I have some code within a for each loop:
If I modify the code to be FIND FIRST (with no other changes) it finds fewer records than the first snippet of code.
Can anyone please explain to me why this should be?
Surely they should retrieve the same number of records?
Code:
FIND bbsbi NO-LOCK
WHERE bbsbi.nl-loc = '2'
AND bbsbi.st-loc = oldstloc.st-loc
AND bbsbi.st-item = oldstloc.st-item NO-ERROR.
If I modify the code to be FIND FIRST (with no other changes) it finds fewer records than the first snippet of code.
Can anyone please explain to me why this should be?
Surely they should retrieve the same number of records?