n107jkx
Board Regular
- Joined
- Dec 3, 2002
- Messages
- 51
I have two fields:
[Mark_Achieved] and [Maximum_Mark]
in linked tables. In a simple query, I used:
Percentage: ([Mark_Achieved]/[Maximum_Mark])*100
to compute a percentage, however, if the score is, for example, 11 out of 32, the percentage calculated is 34.375.
Can anybody find a way I can restrict the value to be an integer only?
(I have tried using update queries to update a percentage field in a table, but this is something i would rather not have to do, as i will keep having to update figures in the forms where they will be used)
[Mark_Achieved] and [Maximum_Mark]
in linked tables. In a simple query, I used:
Percentage: ([Mark_Achieved]/[Maximum_Mark])*100
to compute a percentage, however, if the score is, for example, 11 out of 32, the percentage calculated is 34.375.
Can anybody find a way I can restrict the value to be an integer only?
(I have tried using update queries to update a percentage field in a table, but this is something i would rather not have to do, as i will keep having to update figures in the forms where they will be used)