BigJimSlade
Registered User.
- Local time
- Today, 18:27
- Joined
- Oct 11, 2000
- Messages
- 173
Hey, Big Jim here:
I have read some other messages about this error, but none seem to help me. I am simply trying to click on a check box and have the on click method send set the focus to a text box, change what is in the text box, and then return the focus to the check box. But I get this 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).
Here is my code:
intCheck = chkMultiple.Value
If intCheck = -1 Then
cboIndexCode.SetFocus
cboIndexCode.Text = "MULT"
F_Build_Num.SetFocus
cboIndexCode.Enabled = False
Else:
cboIndexCode.Enabled = True
cboIndexCode.SetFocus
cboIndexCode.Text = ""
End If
Any thoughts would be appreciated. Thanks in advance!
Big Jim
I have read some other messages about this error, but none seem to help me. I am simply trying to click on a check box and have the on click method send set the focus to a text box, change what is in the text box, and then return the focus to the check box. But I get this 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).
Here is my code:
intCheck = chkMultiple.Value
If intCheck = -1 Then
cboIndexCode.SetFocus
cboIndexCode.Text = "MULT"
F_Build_Num.SetFocus
cboIndexCode.Enabled = False
Else:
cboIndexCode.Enabled = True
cboIndexCode.SetFocus
cboIndexCode.Text = ""
End If
Any thoughts would be appreciated. Thanks in advance!
Big Jim