I have done this before but for some reason when I try now I get a error. Maybe I was using differant code. My code is as follows:
Private Sub txtCamType_BeforeUpdate(Cancel As Integer)
Me.txtCamType = Replace(Me.txtCamType, "'", "")
End Sub
I now get a error BeforeUpdate or VailadationRule property for this field is preventing ... from saving the data in the field
Private Sub txtCamType_BeforeUpdate(Cancel As Integer)
Me.txtCamType = Replace(Me.txtCamType, "'", "")
End Sub
I now get a error BeforeUpdate or VailadationRule property for this field is preventing ... from saving the data in the field