I have 2 QVDs. QVD A has payment date and account number- QVD B has transaction date, transaction amount and account number. I would like to join A to B so that I can include the sum of transaction amount from QVD B where the transaction date in QVD is greater than or equal to the payment date in QVD A.
Does anyone know the best way to achieve this. I am at my wits end.
There are two ways to do this: One is to join the two tables straight off on account number, then run a second pass through the created table, making the calculations.