D
DawnTreader
Hello All
I have a few situations where i am trying to get a combo box to do soemthing
and it keeps giving me errors or not doing what i want.
in the first instance i am using this code:
Private Sub cboChangeRep_BeforeUpdate(Cancel As Integer)
If MsgBox("Are you sure?", vbYesNo, "Change Service Representative?") =
vbYes Then
Me.ISServiceRepID = Me.cboChangeRep
Else
MsgBox "Change Aborted", vbOKOnly, "Aborted"
Cancel = True
Me.cboChangeRep = ""
End If
End Sub
why do i get an error saying:
runtime error -2147352567
the macro or function set to the beforeupdate or validationrule property for
htis field is preventing database from saving the data in the field.
i have some similar other instances, but i want to get this fixed asap. will
post the others when i have this out of the way.
I have a few situations where i am trying to get a combo box to do soemthing
and it keeps giving me errors or not doing what i want.
in the first instance i am using this code:
Private Sub cboChangeRep_BeforeUpdate(Cancel As Integer)
If MsgBox("Are you sure?", vbYesNo, "Change Service Representative?") =
vbYes Then
Me.ISServiceRepID = Me.cboChangeRep
Else
MsgBox "Change Aborted", vbOKOnly, "Aborted"
Cancel = True
Me.cboChangeRep = ""
End If
End Sub
why do i get an error saying:
runtime error -2147352567
the macro or function set to the beforeupdate or validationrule property for
htis field is preventing database from saving the data in the field.
i have some similar other instances, but i want to get this fixed asap. will
post the others when i have this out of the way.