Yes that worked fine ( i just changed the find ge to find gt in the while-loop).

I recreated index 1 but still didn't work.

However, I just tried my original code (including the copying to the other table), replaced index.1 with Index 2 and it worked.



Quote Originally Posted by starzen View Post
sounds like something is off

try this

Code:
Clear gbQuotePolicySectionCover
Move iQuoteNo to gbquotePolicySectionCover.QuoteNoMove iUwyear  to gbquotePolicySectionCover.UwYear
find ge gbQuotePolicySectionCover by index.1
if ( gbquotePolicySectionCover.QuoteNo <> iquoteno) Indicate Found false
if ( gbquotePolicySectionCover.UwYear <> iUwyear  ) Indicate Found false
while (found)

    find ge gbQuotePolicySectionCover by index.1
    if ( gbquotePolicySectionCover.QuoteNo <> iquoteno) Indicate Found false
    if ( gbquotePolicySectionCover.UwYear <> iUwyear  ) Indicate Found false
loop
and check if this loops all records properly

and just to make sure your main file in hQuoteMiscTblDD is gbquotePolicySectionCover ?