randolphoralph
Registered User.
- Local time
- Today, 16:32
- Joined
- Aug 4, 2008
- Messages
- 101
I am trying to write a function and need some input
The three fields I have are:
TotalPoints
TotalPosPoints
OverallScore
I am trying to take TotalPoints/TotalPosPoints and display the results in the OverallScore Field. I have written the code but I keep getting a "Runtime error '6':
Overflow
Here is the code I have so far
http://www.access-programmers.co.uk/forums/showthread.php?p=734735#post734735
The three fields I have are:
TotalPoints
TotalPosPoints
OverallScore
I am trying to take TotalPoints/TotalPosPoints and display the results in the OverallScore Field. I have written the code but I keep getting a "Runtime error '6':
Overflow
Here is the code I have so far
Code:
Private Sub Form_Current()
Me.OverallScore = Me.TotalPoints / Me.TotalPosPoints
End Sub