I've created a calculated field which is the average score in various exams (called "Average").
I've then created another field: Average 0 Dec Places: CLng([Average]) to set that to a long integer with 0 decimal places.
I then create a relationship between the [Average 0 Dec Places] and a table which contains the number (long integer 0 decimal places) and the Grade with that - i.e.
1 = U
2 = U
up to 100 = A
When I run a query to bring back the corresponding grade to the [Average] field, it works - but then after a couple of seconds I get an Overflow error and upon clicking OK, all the returned values become #Name?
I'm not sure if I'm going down the right path and just need a tweak - or I'm miles away in terms of trying to get around this problem.
I've then created another field: Average 0 Dec Places: CLng([Average]) to set that to a long integer with 0 decimal places.
I then create a relationship between the [Average 0 Dec Places] and a table which contains the number (long integer 0 decimal places) and the Grade with that - i.e.
1 = U
2 = U
up to 100 = A
When I run a query to bring back the corresponding grade to the [Average] field, it works - but then after a couple of seconds I get an Overflow error and upon clicking OK, all the returned values become #Name?
I'm not sure if I'm going down the right path and just need a tweak - or I'm miles away in terms of trying to get around this problem.