Thank for your eamil:
The text field is a free form entry textbox where users can enter either 1
or 0 or N/A; but if I do the calculation; then it's the problem, as in the
other free form textboxes users are allowed to enter only either 1 or 0.
The form is something like the below:
Trb_Summy Trb_Desc CTI CC Vendor
Outage Score
(only 1 or 0) (only 1 or 0) (only 1 or 0)(only 1 or 0)(only 1 or 0 or N/A)
(only 1 or 0 or N/A)
The Score is the calculated field where I use the below formula:
Private Sub Score_KeyDown(KeyCode As Integer, Shift As Integer)
If (Outage = "N/A") Or (Vendor_Tab = "N/A") Then
Score.Value = (((Trb_Summy + Trb_Desc + CTI + CC + Vendor + Outage) / 9) *
100)
Else
Score.Value = (((Trb_Summy + Trb_Desc + CTI + CC + Vendor + Outage) / 10) *
100)
End If
End Sub