hi,
Could someone advise how to reference a query from another query? I have this query (Query1) which gives me the total number of records that answer "Yes" to the question "Were criteria met?"
Query1
IsCriteria: Sum(IIf([table1].[CriteriaMet]="Yes",1,0))
another question was posed "So if criteria were met, was oxygen administered?" I ran a similar query which gives me the total number of cases where Oxygen was given and called the second query, Query2.
Now from within Query2, I want to also calculate the percentage of the value returned, based on records which met the Criteria.
Using the formula: 100 * ([oxyGiven]/[Query1].[IsCriteria]). It is asking me to "Enter Parameter value"
Your help is greatly appreciated.