T
TimH
Thank you in advance for any assistance:
I have a field unbound that parses a name into its constituents LastName,
FirstName and so on, when a new name is enterd Code works fine; However when
user is looking at previously enterd names and the focus is on the txtName
field I get the error 3315 this is the code now; what or how do I need to add
to the code; I'm lost;
Private Sub txtName_Exit(Cancel As Integer)
Dim intRetVal As Integer
Dim strSalutation As String
Dim strLastName As String
Dim strFirstName As String
Dim strMiddleName As String
Dim strSuffix As String
intRetVal = ParseName(strSalutation, strLastName, strFirstName, _
strMiddleName, strSuffix, txtName)
Salutation = strSalutation
LastName = strLastName
FirstName = strFirstName
MiddleName = strMiddleName
Suffix = strSuffix
Me.Refresh
End Sub
I have a field unbound that parses a name into its constituents LastName,
FirstName and so on, when a new name is enterd Code works fine; However when
user is looking at previously enterd names and the focus is on the txtName
field I get the error 3315 this is the code now; what or how do I need to add
to the code; I'm lost;
Private Sub txtName_Exit(Cancel As Integer)
Dim intRetVal As Integer
Dim strSalutation As String
Dim strLastName As String
Dim strFirstName As String
Dim strMiddleName As String
Dim strSuffix As String
intRetVal = ParseName(strSalutation, strLastName, strFirstName, _
strMiddleName, strSuffix, txtName)
Salutation = strSalutation
LastName = strLastName
FirstName = strFirstName
MiddleName = strMiddleName
Suffix = strSuffix
Me.Refresh
End Sub