Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
Hello,
I have 5 Fields that append to a table. All can repeat but I only want one unique record of each type. When I do the append, it just keeps adding duplicates because I can't set a primary key. Any ideas?
Fields:
Order Operation ID Description Complete
Bear in mind this append will be managing thousands of "Orders".
Order can repeat because you can have multiple operations per order. All of these options can repeat.
But whenever I have them all append, I want it to keep only one unique row. I'll try to show below using three Fields
Order 1 001000 Cut
Order 1 002000 Slice
Order 1 003000 Break
Order 1 001500 Tear
Order 1 002500 Cut
Order 1 003000 Break
As you can see (hopefully). All of these operations belong to Order 1. But the 2 "cuts" are considered unique. But the 2 "breaks" are considered duplicate.
Therefore the anticipated result would be:
Order 1 001000 Cut
Order 1 001500 Tear
Order 1 002000 Slice
Order 1 003000 Break
Order 1 002500 Cut
I hope this makes sense!!
I have 5 Fields that append to a table. All can repeat but I only want one unique record of each type. When I do the append, it just keeps adding duplicates because I can't set a primary key. Any ideas?
Fields:
Order Operation ID Description Complete
Bear in mind this append will be managing thousands of "Orders".
Order can repeat because you can have multiple operations per order. All of these options can repeat.
But whenever I have them all append, I want it to keep only one unique row. I'll try to show below using three Fields
Order 1 001000 Cut
Order 1 002000 Slice
Order 1 003000 Break
Order 1 001500 Tear
Order 1 002500 Cut
Order 1 003000 Break
As you can see (hopefully). All of these operations belong to Order 1. But the 2 "cuts" are considered unique. But the 2 "breaks" are considered duplicate.
Therefore the anticipated result would be:
Order 1 001000 Cut
Order 1 001500 Tear
Order 1 002000 Slice
Order 1 003000 Break
Order 1 002500 Cut
I hope this makes sense!!