Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7550 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am new to this forum and do not know the rules. I have filemaker pro 4.0 on a Mac.

I have a 15000 record database with a name field which includes first and last names of individuals. I want to split the names into a first name and last name field. How can I do that?

Posted

Welcom to the forum,

You might reveiew http://www.fmforums.com/threads/postlist.php?Cat=&Board=library

Our best sugguestion is to place your question in the most approporiate forum.

To answer your quesion,

Create 2 new fields, FirstName and LastName both text fields.

Back in browse mode, do a replace on the Firstname Field (after you have found all records. Your replace will be LeftWords(YourNameField, 1) do the same in the LastName Field except RightWords(YourNameField, 1)

This should work on most case but will not help you if you have names like Mc Donalds, or De Julio or John Q. Public. Your you might get duplicates if you have something like Cher, Madonna, or Sting.

Hope this helps.

SD

  • 1 year later...
  • Newbies
Posted

I would like help splitting a name field(LName,FName) into 2 fields(LName and FName). My records are in an Access database and I'd like to do this with VBA. CAn someone please help me.

This topic is 7550 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.