![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have a table that contains the fields Id, date, balance, name, address, city, state, zip and phone. There are multiple records per individual. What I am looking to do is create a query that will group the records by Id and pick the record that has the latest date within each group and then zero out the balance in all the other records. For example John Smith has 3 records dated 3/3/04 4/4/04 and 5/5/04 all with different balances. Since 5/5/04 is the latest date I want to keep this record unchanged and zero out the balance in the 3/3/04 and 4/4/04 records. Is this possible easily? Any help would be greatly appreciated!! you have to do something like this |
![]() |
| Thread Tools | |
| Display Modes | |
| |