I have a problem with my expression in a Calculated field in an access [2007] table. I need to find out if a number is odd or even but I can't get the Modulo function to work.
This doesn't work: IIf( [No] Mod 2 = 0, [No] - 1, [No] + 1)
[ Just to check - the following expression works (eventhough nonsense): IIf( [No] > 2, [No] - 1, [No] + 1) ]
Any ideas?