Hello
I have a table that archives transactions for customers. It only stores the latest transaction.
The problem is, the person before me didn't delete the old transactions but just kept adding them.
The table is called "Trans". How do I programatically delete ALL the previous tranasctions for a customer (by "CustomerNumber" field...each customer has a unique number) and add the latest transaction record?
I have a table that archives transactions for customers. It only stores the latest transaction.
The problem is, the person before me didn't delete the old transactions but just kept adding them.
The table is called "Trans". How do I programatically delete ALL the previous tranasctions for a customer (by "CustomerNumber" field...each customer has a unique number) and add the latest transaction record?