P
Paul Fenton
I have a table of client job records which lists every job for each
client and the balance due on that job. There can be 1 or more record
for each client and I use this table to generate some reports on
receivables.
Some clients have records which net to zero because refunds/rebates
are entered as a negative balance due. (Don't ask why the client
wants to do it this way!) I want to eliminate those records for the
client which net to zero.
Example
Client BalDue DateDue
Jim $100.00 1/1/04
Jim $100.00 1/31/04
Jim $200.00 2/2/04
Jim ($100.00) 1/5/04
Bob etc.
In that example, I would want to delete one of the positive $100
records and the negative $100.00 record. If Jim had more than 1
record for a positive $100.00, I want to delete the oldest one.
I need some help as to how to go through the table and match things
up.
Paul Fenton
(e-mail address removed)
client and the balance due on that job. There can be 1 or more record
for each client and I use this table to generate some reports on
receivables.
Some clients have records which net to zero because refunds/rebates
are entered as a negative balance due. (Don't ask why the client
wants to do it this way!) I want to eliminate those records for the
client which net to zero.
Example
Client BalDue DateDue
Jim $100.00 1/1/04
Jim $100.00 1/31/04
Jim $200.00 2/2/04
Jim ($100.00) 1/5/04
Bob etc.
In that example, I would want to delete one of the positive $100
records and the negative $100.00 record. If Jim had more than 1
record for a positive $100.00, I want to delete the oldest one.
I need some help as to how to go through the table and match things
up.
Paul Fenton
(e-mail address removed)