I have sub which changes availability to “Full time”, if the salary type is “Retainer” ;but when I do this I keep getting Error 2115 : The macro or function set to the BeforeUpdate or ValidationRule property for this field is preventing Microsoft Access from saving the data in the field
Expand|Select|Wrap|Line Numbers
- Private Sub SalaryType_Click()
- SalaryType.SetFocus
- If SalaryType.Text = "Retainer" Then
- Availability.SetFocus
- Availability.Text = "Full Time"
- End If
- End Sub