potts
Registered User.
- Local time
- Today, 00:14
- Joined
- Jul 24, 2002
- Messages
- 87
I've had a look on the site but can't find an answer to this question - then again, I may not be searching the correct terms!!
I have a sub form that contains periods of work and rest for various groups in a session (mainform). I want to be able to calculate the percentage of the work that was less than 12. I had used a query to find how long was spent working less than 12. However, there are some sessions where there is no work less than 12 and so a null value is returned. The query then returns no information. What I think I need either a way for the query to accept null values, or to perform the calculations on the form in unbound controls (don't know how to control the criteria or the null values here). My problem is that I'm not good enough at this to work out either method sufficiently.
If someone could show me what to do I would be extremely gateful.
Thank-you
I have a sub form that contains periods of work and rest for various groups in a session (mainform). I want to be able to calculate the percentage of the work that was less than 12. I had used a query to find how long was spent working less than 12. However, there are some sessions where there is no work less than 12 and so a null value is returned. The query then returns no information. What I think I need either a way for the query to accept null values, or to perform the calculations on the form in unbound controls (don't know how to control the criteria or the null values here). My problem is that I'm not good enough at this to work out either method sufficiently.
If someone could show me what to do I would be extremely gateful.
Thank-you