Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Feb 2003
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Separate name field (2002/sp3)

    I have a name field that has names in this format Smith;Tom

    How do I convert the names in a query into a new field that looks like Smith; Tom

    Thanks.

    Paul

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Separate name field (2002/sp3)

    Say that the field is called TheName. The following expression will insert a space after the semicolon:
    <code>
    Replace([TheName],";","; ")
    </code>
    BTW, I'd prefer to store the name in separate FirstName and LastName fields in the table. It's easy to concatenate these fields for presentation purposes.

Posting Permissions

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