J
John
I have a calculation to perform, and I'd like to avoid
writing a procedure to loop the database in order to
calculate it. I have a query that returns all
evaluations over a specified time period,
Evaluation Heart
Subject ID Date Rate
1 01/01/2001 90
1 02/01/2001
1 03/01/2001 77
2 01/08/2001
2 06/09/2001
2 07/11/2001
3 01/01/2001 80
I've put together a report that uses this query. I'd
like to put in the 'Control Source' of a control an
equation that will tell me what is the percentage of
individuals that had at least 1 heart rate taken during
the defined period. For the example above, the answer
would be,
2 (had at least one heart rate)
------------------------------- = 66%
3 (total individuals)
Any suggestions? Thank you, John
writing a procedure to loop the database in order to
calculate it. I have a query that returns all
evaluations over a specified time period,
Evaluation Heart
Subject ID Date Rate
1 01/01/2001 90
1 02/01/2001
1 03/01/2001 77
2 01/08/2001
2 06/09/2001
2 07/11/2001
3 01/01/2001 80
I've put together a report that uses this query. I'd
like to put in the 'Control Source' of a control an
equation that will tell me what is the percentage of
individuals that had at least 1 heart rate taken during
the defined period. For the example above, the answer
would be,
2 (had at least one heart rate)
------------------------------- = 66%
3 (total individuals)
Any suggestions? Thank you, John