I have an Access query that shows that the following invoices are to be paid off:
Number / Amount
1 / 250
2 / 100
3 / 400
4 / 200
5 / 325
In another query, I have data of Amount received as 1,000.
Now I want this amount to be assigned against each of the invoices such that the oldest invoice is paid off first from the Amount available, as under:
Number / Amount / Paid Off
1 / 250 / 250
2 / 100 / 100
3 / 400 / 400
4 / 200 / 200
5 / 325 /
5th Invoice has not been paid off. Either it can show that only 50 has been paid against 325 or it can show blank.
Need help from experts.
Thanks.
Number / Amount
1 / 250
2 / 100
3 / 400
4 / 200
5 / 325
In another query, I have data of Amount received as 1,000.
Now I want this amount to be assigned against each of the invoices such that the oldest invoice is paid off first from the Amount available, as under:
Number / Amount / Paid Off
1 / 250 / 250
2 / 100 / 100
3 / 400 / 400
4 / 200 / 200
5 / 325 /
5th Invoice has not been paid off. Either it can show that only 50 has been paid against 325 or it can show blank.
Need help from experts.
Thanks.