I would display the input and the result field then you will see the exact field where it all goes missing and also add a record count and display that also at the same display.
this would make debugging easier for using iebeyeball the worlds best debugging tool easier to use rather than the really unpopular utility iebguess.