Firemansam
Registered User.
- Local time
- Today, 19:04
- Joined
- Mar 28, 2007
- Messages
- 16
Hi,
I have a table that shows when a Patient was admitted using a time and date field, what I am trying to do is create a query that will show me how many patients were admitted over a 12 month period between the hours of 10am and 11am.
I have tried the between syntax ie Between #10/01/2010 10:00:00AM# and #10/01/2011 11:00:00AM# however this obviously show me all the patients when in this range not all the patients with in this range between 10am and 11am. I then tried removing the date segment and replacing it with a wild card* but this just came up with and error. Any ideas would be helpful, and greatly appreciated.
Cheers
Andrew
I have a table that shows when a Patient was admitted using a time and date field, what I am trying to do is create a query that will show me how many patients were admitted over a 12 month period between the hours of 10am and 11am.
I have tried the between syntax ie Between #10/01/2010 10:00:00AM# and #10/01/2011 11:00:00AM# however this obviously show me all the patients when in this range not all the patients with in this range between 10am and 11am. I then tried removing the date segment and replacing it with a wild card* but this just came up with and error. Any ideas would be helpful, and greatly appreciated.
Cheers
Andrew