Error "record not on file (138)" running a FOR EACH with join, if no child records match WHERE clause on child table.
A FOR EACH loop with a join can error out with "record not on file (138)" running a FOR EACH with join, if the WHERE clause on the right-hand buffer returns no records.