G
Gary Hull
I copied this code from you site
Dim Pos As Integer
Dim Str As String
Str = LTrim(ctlTextbox.Text)
Pos = InStr(Str, " ")
If Pos > 0 Then
ctlTextbox.Text = Left(Str, Pos - 1)
End If
I gives me an error
Run-time error '2115'
The Macro or function set to the BeforeUpdate or Validation Rule property
for this field is preventing Microsoft Access from saving the data in the
field
What do I need to do
Dim Pos As Integer
Dim Str As String
Str = LTrim(ctlTextbox.Text)
Pos = InStr(Str, " ")
If Pos > 0 Then
ctlTextbox.Text = Left(Str, Pos - 1)
End If
I gives me an error
Run-time error '2115'
The Macro or function set to the BeforeUpdate or Validation Rule property
for this field is preventing Microsoft Access from saving the data in the
field
What do I need to do