M
maindaco via AccessMonster.com
I have a list with following information:
Invoice Item InvAmount
10514 1 $3,210.00
10514 2 $3,210.00
10514 5 $3,210.00
20321 1 $1,630.00
20321 2 $1,630.00
30467 1 $5,340.00
50664 1 $890.00
50664 3 $890.00
50664 4 $890.00
50664 6 $890.00
As you can see, Invoice# can repeat since this list details the Items on an
invoice that are non taxable. Besides, the Inv Amount is the total amount of
the invoice, not the item amount. Then, what I need to do is to run an Update
Query that will leave only the first amount listed for an invoice and change
the repeated amount to 0. I still need the list to display the invoice number
(even repeated) and the item. The result should be something like the
following:
Invoice Item InvAmount
10514 1 $3,210.00
10514 2 $-
10514 5 $-
20321 1 $1,630.00
20321 2 $-
30467 1 $5,340.00
50664 1 $890.00
50664 3 $-
50664 4 $-
50664 6 $-
Any help will be really appreciated.
Invoice Item InvAmount
10514 1 $3,210.00
10514 2 $3,210.00
10514 5 $3,210.00
20321 1 $1,630.00
20321 2 $1,630.00
30467 1 $5,340.00
50664 1 $890.00
50664 3 $890.00
50664 4 $890.00
50664 6 $890.00
As you can see, Invoice# can repeat since this list details the Items on an
invoice that are non taxable. Besides, the Inv Amount is the total amount of
the invoice, not the item amount. Then, what I need to do is to run an Update
Query that will leave only the first amount listed for an invoice and change
the repeated amount to 0. I still need the list to display the invoice number
(even repeated) and the item. The result should be something like the
following:
Invoice Item InvAmount
10514 1 $3,210.00
10514 2 $-
10514 5 $-
20321 1 $1,630.00
20321 2 $-
30467 1 $5,340.00
50664 1 $890.00
50664 3 $-
50664 4 $-
50664 6 $-
Any help will be really appreciated.