I have a query (qryTestingValComp) where, occasionally, a test score [SS] will have a plus sign, i.e. 208+ .
I need to get the difference between two test scores, so need the score converted to a number. I have used the Val function:
However, there are currently two cases in the query where the function is returning the number followed by itself, i.e. [SS] of 175 returns SSNum 175175 .
Needless to say, this is messing up the calculations and (I think) causing an Overflow error in the queries and report that depend on qryTestingValComp.
Any idea why this is happening and how to remedy it?
I have attached a sample db with only the relevant tables and the query. Problem records are TestID 223 and TestID 310.
Thank you!
I need to get the difference between two test scores, so need the score converted to a number. I have used the Val function:
Code:
SSNum: Val(Nz([SS]))
Needless to say, this is messing up the calculations and (I think) causing an Overflow error in the queries and report that depend on qryTestingValComp.
Any idea why this is happening and how to remedy it?
I have attached a sample db with only the relevant tables and the query. Problem records are TestID 223 and TestID 310.
Thank you!