Sheila.deJesus
She
- Local time
- Tomorrow, 02:11
- Joined
- Jul 12, 2006
- Messages
- 70
Good day!
I used this code on the lost focus event. There's a problem with it. Could someone please assist me...
Private Sub Deduct_LostFocus()
If Deduct.Value < 2000 And Classification.Value = Passenger_Car Then
Deductible.Value = 2000
Else
Deductible.Value = [Coverage] * 0.005
End If
If Deduct.Value < 3000 And Classification.Value = Commercial_Vehicle Then
Deductible.Value = 3000
Else
Deductible.Value = [Coverage] * 0.005
End If
End Sub
Thank you!
Sheila
I used this code on the lost focus event. There's a problem with it. Could someone please assist me...
Private Sub Deduct_LostFocus()
If Deduct.Value < 2000 And Classification.Value = Passenger_Car Then
Deductible.Value = 2000
Else
Deductible.Value = [Coverage] * 0.005
End If
If Deduct.Value < 3000 And Classification.Value = Commercial_Vehicle Then
Deductible.Value = 3000
Else
Deductible.Value = [Coverage] * 0.005
End If
End Sub
Thank you!
Sheila