thesuggs76
Board Regular
- Joined
- Nov 15, 2006
- Messages
- 247
Hi All
I'm trying to work a query that will allow me to select the outcome of an appointment that has taken place within a certain timeframe. The outcome would be either Attended or DNA. However the problem I have is that an individual can have more that one appointment within this timeframe, several in fact. They could have 6 appointments, the first 5 were DNA'd then the 6th would be attended. And others will only have one appointment and the outcome could be either Attended or DNA.
I need to count the Attended for the first example i mentioned but not to count the DNA as I only want to count DNA for that individual if they have not attended any appointments.
The table I'm using is called Appointments.
Thanks
I'm trying to work a query that will allow me to select the outcome of an appointment that has taken place within a certain timeframe. The outcome would be either Attended or DNA. However the problem I have is that an individual can have more that one appointment within this timeframe, several in fact. They could have 6 appointments, the first 5 were DNA'd then the 6th would be attended. And others will only have one appointment and the outcome could be either Attended or DNA.
I need to count the Attended for the first example i mentioned but not to count the DNA as I only want to count DNA for that individual if they have not attended any appointments.
The table I'm using is called Appointments.
Thanks