Hi,
Can anyone help with this.
I can't get the following "if statement" to work the way I want it to. I would like to put a 2 in the column but not if the last part of the statement is true, then I would like a 5.
QPoints: IIf([GScore1]>[GScore2],IIf([FWin1]=1,2)) & IIf([GScore2]>[GScore1],IIf([FWin2]=1,2) & IIf([GScore1] & "" & [GScore2]=[FScore1] & "" & [FScore2],5))
I got it earlier to put the 5 in but it also put the 2 but at the moment it has just the 2. I tried "or" and "and" but with no luck.
Can anyone help with this.
I can't get the following "if statement" to work the way I want it to. I would like to put a 2 in the column but not if the last part of the statement is true, then I would like a 5.
QPoints: IIf([GScore1]>[GScore2],IIf([FWin1]=1,2)) & IIf([GScore2]>[GScore1],IIf([FWin2]=1,2) & IIf([GScore1] & "" & [GScore2]=[FScore1] & "" & [FScore2],5))
I got it earlier to put the 5 in but it also put the 2 but at the moment it has just the 2. I tried "or" and "and" but with no luck.