Additional info about my posting, the fields starting with H are text calculations to pull the data out of the report body which is not show. My calculation fields successfully extract the data. There are about 3500 records to read and edit with this.
What I see is a Loop which will never stop if it runs into a record which does not match both of your If tests; because the Go to Record [ Next, Exit after last ] only happens if both If tests pass. It seems to me that Go to Record should happen whether those Ifs match or not; it should be just before the End Loop. Everything else will work the same, but the Loop can move between records, and stop after the last.