Rich_Lovina
Registered User.
- Local time
- Tomorrow, 08:55
- Joined
- Feb 27, 2002
- Messages
- 224
This should be easy, but Ive had a disk crash and am awaiting holidays to end so people all get back to work in Australia and I can then get my disk repaired....
I have a field with A&B [Initials] and I want to split out B into separate field 2ND INIT.
I did have a lovely Module which did all this which I ran in a query and created a new table from the module. I have found the following in past postings:
Public Sub SplitString(strToSplit as String)
Dim intFirstSpace As Integer
Dim FirstName, LastName As String
intFirstSpace = InStr(1,Str," ")
FirstName = Mid(Str,1,intFirstSpace-1)
LastName = Mid(Str, intFirstSpace+1, Len(Str))
End Sub
...but this (I think) only splits by the space. All my fields have the & in the middle of the INITIALS with NO spaces.
Hopefully someone kind (Are you out there Jack or JWindon?) as I've also temporarily lost my Outlook Express also, so my direct email is down and out too...
Thanks in advance anyone
I have a field with A&B [Initials] and I want to split out B into separate field 2ND INIT.
I did have a lovely Module which did all this which I ran in a query and created a new table from the module. I have found the following in past postings:
Public Sub SplitString(strToSplit as String)
Dim intFirstSpace As Integer
Dim FirstName, LastName As String
intFirstSpace = InStr(1,Str," ")
FirstName = Mid(Str,1,intFirstSpace-1)
LastName = Mid(Str, intFirstSpace+1, Len(Str))
End Sub
...but this (I think) only splits by the space. All my fields have the & in the middle of the INITIALS with NO spaces.
Hopefully someone kind (Are you out there Jack or JWindon?) as I've also temporarily lost my Outlook Express also, so my direct email is down and out too...
Thanks in advance anyone