You can't simply strip the '9,' off in the Control's BeforeUpdate event, which would seem like the obvious way to do this, because Access won't allow you to change the Value in this event, so I'd use the Form_BeforeUpdate event. See if this works for you:
Code:
Private Sub Form_BeforeUpdate(Cancel As Integer)
If Left(Me.TargetField, 2) = "9," Then
Me.TargetField = Mid(Me.TargetField, 3)
If Len(Me.TargetField) < 10 Then
MsgBox "Telephone Number is Too Short!'"
Cancel = True
TargetField.SetFocus
End If
Else
If Len(Me.TargetField) < 10 Then
MsgBox "Telephone Number is Too Short!'"
Cancel = True
TargetField.SetFocus
End If
End If
End Sub
(Sorry, site won't let me edit my previous post)
Linq ;0)>