Jones Stanwell
Banned
- Local time
- Today, 23:09
- Joined
- Jul 13, 2011
- Messages
- 28
I need help
So here goes
I have a table wich acts a as a score sheet
With the following layout
Score1 = Home team Score
Score2 - Away Team Scorfe
Score 3 = Home team score when there away
Score4 = Away team score at the ground
What I need help with is an iff statment to add on to the end of this calculation within a query
Sum(([Score 1]+([Score 3]))) this gives me the total for each time they have won 21. as 21 is the maximum score they can get anything less than 21 is a loss.
What I need is if score1 says 21 and score 3 is blank because they did not play that game i still need 21 to show when showing the total.
In english is reads score1+score3, if socre 3 is null then add just score1
Please could some one write it out for me so I could just copy and past it into my query
So here goes
I have a table wich acts a as a score sheet
With the following layout
Score1 = Home team Score
Score2 - Away Team Scorfe
Score 3 = Home team score when there away
Score4 = Away team score at the ground
What I need help with is an iff statment to add on to the end of this calculation within a query
Sum(([Score 1]+([Score 3]))) this gives me the total for each time they have won 21. as 21 is the maximum score they can get anything less than 21 is a loss.
What I need is if score1 says 21 and score 3 is blank because they did not play that game i still need 21 to show when showing the total.
In english is reads score1+score3, if socre 3 is null then add just score1
Please could some one write it out for me so I could just copy and past it into my query