G
Guest
So I'm running a kareoke contest (great use of access, right?) and I'm trying
to keep track of contestants. Now that we're entering the Semi-Finals, I
need to construct a report that displays just those individuals that have
qualified. I had been runing a query that determined whether they had
received a qualifying score or not. That is displayed below.(Query Name is
DispReport)
SELECT Songs.ContestantName, Songs.Song, Songs.Artist, Songs.Score,
[Dates/Weeks].KarWeek, [Dates/Weeks].WhichDate, IIf([Score]>=18,-1,0) AS
Qualified
FROM (Contestants INNER JOIN Songs ON Contestants.Contestant =
Songs.ContestantName) INNER JOIN [Dates/Weeks] ON Songs.CompWeek =
[Dates/Weeks].WhichDate
GROUP BY Songs.ContestantName, Songs.Song, Songs.Artist, Songs.Score,
[Dates/Weeks].KarWeek, [Dates/Weeks].WhichDate, IIf([Score]>=18,-1,0);
You can see the calculated field I was using to determine if they had
qualified (which translated to a checkbox on my report). By running the
following query, I can see who qualified.
SELECT DispReport.ContestantName, Sum(DispReport.Qualified) AS SumOfQualified
FROM DispReport
GROUP BY DispReport.ContestantName
HAVING (((Sum(DispReport.Qualified))=-2));
I want to be able to view all records of what songs have been performed by
all individuals who have qualified for the semis. This requires bridging the
two queries somehow, and I am lost there. I'm sure it's quite simple. It's
just beyond me. Help is greatly appreciated! Thanks!
to keep track of contestants. Now that we're entering the Semi-Finals, I
need to construct a report that displays just those individuals that have
qualified. I had been runing a query that determined whether they had
received a qualifying score or not. That is displayed below.(Query Name is
DispReport)
SELECT Songs.ContestantName, Songs.Song, Songs.Artist, Songs.Score,
[Dates/Weeks].KarWeek, [Dates/Weeks].WhichDate, IIf([Score]>=18,-1,0) AS
Qualified
FROM (Contestants INNER JOIN Songs ON Contestants.Contestant =
Songs.ContestantName) INNER JOIN [Dates/Weeks] ON Songs.CompWeek =
[Dates/Weeks].WhichDate
GROUP BY Songs.ContestantName, Songs.Song, Songs.Artist, Songs.Score,
[Dates/Weeks].KarWeek, [Dates/Weeks].WhichDate, IIf([Score]>=18,-1,0);
You can see the calculated field I was using to determine if they had
qualified (which translated to a checkbox on my report). By running the
following query, I can see who qualified.
SELECT DispReport.ContestantName, Sum(DispReport.Qualified) AS SumOfQualified
FROM DispReport
GROUP BY DispReport.ContestantName
HAVING (((Sum(DispReport.Qualified))=-2));
I want to be able to view all records of what songs have been performed by
all individuals who have qualified for the semis. This requires bridging the
two queries somehow, and I am lost there. I'm sure it's quite simple. It's
just beyond me. Help is greatly appreciated! Thanks!