• Extract name (Access2K)

    Author
    Topic
    #367094

    How can I extract a first and last name from a combined name field in this format: “Lastname, first name”?

    Viewing 0 reply threads
    Author
    Replies
    • #571446

      Something like this:

      Dim pos as integer

      pos = instr(FullName, “,”)

      FirstName = Left(FullName,pos-1)
      LastName = Trim( Mid(FullName,pos+1) )

    Viewing 0 reply threads
    Reply To: Extract name (Access2K)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: