potts
Registered User.
- Local time
- Today, 00:08
- Joined
- Jul 24, 2002
- Messages
- 87
Hi This is kind've a re-visit to a thread I posted a few weeks back.
I have stored a number of work and rest periods by position for each activity in each session. What I now need to do is summarise the contained information by position for each session. I want the following information in the summary:
Position
TotalWork
TotalRest
Total time (TotalWork + TotalRest)
% Work < 10
% Work Between 30 and 60
% Work > 90
The % calculations are proving difficult. I thought it had been cracked when FoFa posted a response to the thread % Woes. However, I have now found that if I use his method to build sub queries for each of the % calculations, and then bind all the information together in a large query, I get two problems with the answer:
1. I do need to add a method to allow for null values (this is being dealt with elsewhere on the forum - sorta)
2. the %'s are summarised for each value e.g. 7, 8, 9. It's not that I mind this, but when I bind the subqueries, I only get results for the largest value in each. Therefore my calculations are out.
Could someone please try to show me where I'm going wrong. I'm sure that this is not that difficult to do, but I'm having an extremely hard time with it.
Any help is much appreciated
I have stored a number of work and rest periods by position for each activity in each session. What I now need to do is summarise the contained information by position for each session. I want the following information in the summary:
Position
TotalWork
TotalRest
Total time (TotalWork + TotalRest)
% Work < 10
% Work Between 30 and 60
% Work > 90
The % calculations are proving difficult. I thought it had been cracked when FoFa posted a response to the thread % Woes. However, I have now found that if I use his method to build sub queries for each of the % calculations, and then bind all the information together in a large query, I get two problems with the answer:
1. I do need to add a method to allow for null values (this is being dealt with elsewhere on the forum - sorta)
2. the %'s are summarised for each value e.g. 7, 8, 9. It's not that I mind this, but when I bind the subqueries, I only get results for the largest value in each. Therefore my calculations are out.
Could someone please try to show me where I'm going wrong. I'm sure that this is not that difficult to do, but I'm having an extremely hard time with it.
Any help is much appreciated