Dumferling
Member
- Local time
- Today, 17:33
- Joined
- Apr 28, 2020
- Messages
- 102
Maybe it is just because it is the end of a pretty hectic week but I just can't think how to do this. I have a list of contract counterparties (the one side). On the many side we have contracts. Contracts can have a status of "Current" and "Terminated". A counterparty may, for example, have three contracts - two with a "Terminated" status and one with a "Current" status.
I want to show those Counterparties where all their related contracts are "Terminated". Any Counterparty with even one related contract with a "Current" status would be excluded from the list. I just can't think how to set up the query to handle this. I am pretty sure this is simple but I can't see it. Any suggestions most welcome!
I want to show those Counterparties where all their related contracts are "Terminated". Any Counterparty with even one related contract with a "Current" status would be excluded from the list. I just can't think how to set up the query to handle this. I am pretty sure this is simple but I can't see it. Any suggestions most welcome!