Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    St. Marys, Ontario, Canada
    Posts
    270
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Separating two names into two fields (97, 2000)

    I have a field, Employee, with names in it with the format J.Stevens, M.Smith, etc. I can get the first letter into its own field by creating a query that does: FirstName:Left([Employee],1). How do I get the last name in a field by itself?

  2. #2
    3 Star Lounger
    Join Date
    May 2002
    Location
    Toronto, Ontario, Canada
    Posts
    314
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Separating two names into two fields (97, 2000)

    Try... LastName: Trim(Mid([Employee, Instr(1,[Employee], ".")+1,Len([Employee])))

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    St. Marys, Ontario, Canada
    Posts
    270
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Separating two names into two fields (97, 2000)

    Worked like a charm, Trudi. If it isn't too much bother, can you explain in English what I did?
    If you are ever in St. Marys, Ontario, drop in.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •