R
Ramesh
I have table A with promises of payment, Amtpayable , Duedate and CustID.
I have table B with actual payment details, AmtPaid, PaidDate, Cust ID.
Now i am creating a query to show the total AmtPayable as on date, amount
paid, and LastdueDate. Now i have no problem getting the payable and paid
columns. Problem is i get only the Lastduedate till date but i need
earliest unpaid due date.
for eg, due for jan 1 is 1000, for feb 1 is 1000, mar 1 is 1000, etc. if
only 1000 has been paid so far, the query as on date should show Payable
3000, Paid 1000, Due date Feb1. But i get duedate as Mar 1.
Any help on how i can correct this?
Thanks very much
Ramesh
I have table B with actual payment details, AmtPaid, PaidDate, Cust ID.
Now i am creating a query to show the total AmtPayable as on date, amount
paid, and LastdueDate. Now i have no problem getting the payable and paid
columns. Problem is i get only the Lastduedate till date but i need
earliest unpaid due date.
for eg, due for jan 1 is 1000, for feb 1 is 1000, mar 1 is 1000, etc. if
only 1000 has been paid so far, the query as on date should show Payable
3000, Paid 1000, Due date Feb1. But i get duedate as Mar 1.
Any help on how i can correct this?
Thanks very much
Ramesh