I am having a sorting problem that I can't figure out.
I have table of Contacts and a table of Contracts
Each Contact can have multiple contracts, most of which are renewed but we like to keep tract of old contracts so we keep them.
I created a Search interface that allows us to search our contacts by name, address, zip and phone number and displays such data + Contract Date and an email.
My issue is that the Contract Ends Dates that are showing up are all wrong, I would like it to display the most recent/latest expiring or even if its expired but the latest Contract End Dates. Right now, there are Contacts that have current Contracts that will end within months but the interface is showing that they are already expired, this is a bug we want to fix.
Any help would be appreciated.
I have table of Contacts and a table of Contracts
Each Contact can have multiple contracts, most of which are renewed but we like to keep tract of old contracts so we keep them.
I created a Search interface that allows us to search our contacts by name, address, zip and phone number and displays such data + Contract Date and an email.
My issue is that the Contract Ends Dates that are showing up are all wrong, I would like it to display the most recent/latest expiring or even if its expired but the latest Contract End Dates. Right now, there are Contacts that have current Contracts that will end within months but the interface is showing that they are already expired, this is a bug we want to fix.
Any help would be appreciated.