I have read some answers for the split function, but do not understand. I need to take the first and last names from a full name field to create two separate fields. I have two empty fields in the table which I wish to fill. Thanks in advance. Jimdevon
What does your name field consist of. For example, is it first name, comma, lastname, comma, title? Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
I suppose your full name field is built like "Firstname Initials Lastname". And the field is named txtName. The first name comes into the field txtFname, lastname in txtLname.
Dim Lname As String
Dim Fname As String
Dim length As Integer
Dim occ1 As Integer
Dim occ2 As Integer
Dim str As String
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.