A
adamskiii
I am using MS Access to create this database and making a query that will
show my score of the winning team and the name of the winning team. This is
what my tables currently look like in Access:
To create the winning score I want to use:
max(homeScore, awayScore)
And to show the winning team I want to use:
IIf(homeScore>awayScore, [homeTeam.name], [awayTeam.name])
Where do I put these expressions in the query? I tried to put them in the
field and Criteria but this is not working for some reason. I must be doing
something wrong. Please help.
Thanks
show my score of the winning team and the name of the winning team. This is
what my tables currently look like in Access:
![scf1av.jpg](/proxy.php?image=http%3A%2F%2Fi50.tinypic.com%2Fscf1av.jpg&hash=d789dd46e35d8974dccd10f73e81867d)
To create the winning score I want to use:
max(homeScore, awayScore)
And to show the winning team I want to use:
IIf(homeScore>awayScore, [homeTeam.name], [awayTeam.name])
Where do I put these expressions in the query? I tried to put them in the
field and Criteria but this is not working for some reason. I must be doing
something wrong. Please help.
Thanks