Jones Stanwell
Banned
- Local time
- Today, 14:55
- Joined
- Jul 13, 2011
- Messages
- 28
Hi I wounder if someone could help me in this issue that I have
I have four fields called the following
Score 1 score 2 Score 3 and Score 4
I run a query to add up score 1 and score 3 to give me a plus total with the following statment
Abs(Sum([Score 1]+[Score 3]))
The problem I am having is if the player who has scored in score 1 & 2 has did not play for a score to be registed in 3 and 4 i need an iff statment to show the following
Abs(Sum([Score 1]+[Score 3])) if score 3= blank (no data entered) then just add Score 1
Example Below
Score 1 = For 21 Score 2 -10 against Score 3=0 as player did not play
So total score for shoud show 21 then if he played another home game and wins 21 again and misses the asway game the iff statment should then add the two 21s together.
Hope this make sense
I have four fields called the following
Score 1 score 2 Score 3 and Score 4
I run a query to add up score 1 and score 3 to give me a plus total with the following statment
Abs(Sum([Score 1]+[Score 3]))
The problem I am having is if the player who has scored in score 1 & 2 has did not play for a score to be registed in 3 and 4 i need an iff statment to show the following
Abs(Sum([Score 1]+[Score 3])) if score 3= blank (no data entered) then just add Score 1
Example Below
Score 1 = For 21 Score 2 -10 against Score 3=0 as player did not play
So total score for shoud show 21 then if he played another home game and wins 21 again and misses the asway game the iff statment should then add the two 21s together.
Hope this make sense