Hi,
I have a database that is used to allocate appointments to our staff. It has 2 tables, one that lists the clients we need to call in that day, and another that stores details of each contact attempt. I'd like to design a query that find all clients who we have not dealt with so we can easily get their details in a list. I know what the criteria for the query would be, but I'm stuck for how to actually execute it. Here are the details.
Any help would be gratefully received as this is one of the few things left on my to-do list for this project
Cheers
Duane
I have a database that is used to allocate appointments to our staff. It has 2 tables, one that lists the clients we need to call in that day, and another that stores details of each contact attempt. I'd like to design a query that find all clients who we have not dealt with so we can easily get their details in a list. I know what the criteria for the query would be, but I'm stuck for how to actually execute it. Here are the details.
- Table tClients stores the current clients - primary key is named "clientRef"
- Table tContactEvents stores each contact attempt and the date/time is stored in a field named "dateTime".
- When an entry has been dealt with successfully a yes/no field named "completed" will be set to "Yes".
- There may be many attempts to contact a specific client on a given day, unsuccessful attempts will not have the completed flag set.
- Once the completed flag is set that client will be ignored so no further entries will appear.
Any help would be gratefully received as this is one of the few things left on my to-do list for this project

Cheers
Duane