I think you will need to transform your second table with a The Crosstable Load and this could be joined or mapped to the first table and then you could compare both fields. Whereby the logic for the comparing isn't quite clear for me - if you beside the (join/maaping) matching need to look into another records you need Peek() or Previous() ?