There's a number of ways to do this. One would be to make a simple select query based on you table (if you don't already have one) and make these two calculated fields:
- FirstName: Right(OriginalName, Len(OriginalName) - InStr(OriginalName, " "))
-
and
- LastName: Left(OriginalName, InStr(OriginalName, ";") - 1)
where OriginalName is the name of the field you start out with.
Then use the query behind your tables, reports, etc, and refer to the fields LastName and FirstName as you would any other field. This is dependent, as is all parsing, on the original data being entered in the exact format you indicated.
Welcome to TheScripts!
Linq
;0)>