Ok I'm wearing this forum out.. That's what i get for trying to reteach myself vba and access 11 years since the last time i used it.
I have a calculation in access that very seldom returns a whole number but I need it to round up to the next whole number if it does not. I have searched for other posts on here and come up with some of it I think but It doesnt seem to be working. It must allways round up tho rounding down will hose what im trying to accomplish.
So far I have this jewel:
Private Sub QUOTAS_AfterUpdate()
Dim instructorsreq As Long
instructorsreq = Me![QUOTAS] \ Me![ISR]
If instructorsreq = Int(instructorsreq) Then
Me![INSTRUCTORS REQUIRED] = instructorsreq
Else
Me![INSTRUCTORS REQUIRED] = Int(instructorsreq) + 1
End If
End Sub
Ive seen some post about negative intigers but im not quite understanding what there doing - Its been along week. any ideas?