Normal Topic Foreign names (Read 663 times)
wildwood
Full Member
***
Offline


No personal text

Posts: 156
Location: New York
Joined: Apr 2nd, 2004
Foreign names
Mar 30th, 2011 at 6:37pm
Print Post Print Post  
I have an employee application which works fine if my employees were all U.S. Citizens with a just a first name and a last name.
The application has three fields which could use some help:
Employee:
Last Name:
First Name:
It is programmed so that when I type in the employee's name in the Employee field for example......... Smith, James it will enter
Smith in the Last Name field and James in the First Name field.
However, if I have an employee named Jose Eduardo Robles Gonzalez I would enter it:
Employee: Robles Gonzalez, Jose Eduardo
It gets broken down as follows:
Last Name:   Robles Gonzalez
First Name:   Gonzalez, Jose Eduardo

What programming do I need so that it breaks down as follows:
Last Name:   Robles Gonzalez
First Name:   Jose

Thanks,
Peter
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Foreign names
Reply #1 - Mar 30th, 2011 at 7:05pm
Print Post Print Post  
You probably want to do this the other way around. Fill out the First, Middle and Last Name fields and have the programming build the Full Name.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Rick_R
Full Member
***
Offline



Posts: 243
Joined: Jan 29th, 2010
Re: Foreign names
Reply #2 - Mar 31st, 2011 at 3:19am
Print Post Print Post  
Years ago I had a similar problem.  Names were originally entered as they would be signed, and then the database had to be changed to separate them.

The bottom line is that it's just about impossible to do it programmatically.  There needs to be enough fields and the person doing the data entry has to know enough to assign the various names to the correct fields.

My sister will tell you emphatically that her first name is not Mary, it's Mary Ann.  There are loads of names like that:  Bobby Joe, Betty Jo, Betty Sue, Betty Ann, Peggy Sue, Mary Jane.  There are also less common names such as Jean Claude and Jean Paul, so you can't just make a list of about 10 exceptions.

The same for Italian surnames like della Rosa, Hispanic names like de la Fortuna, Irish names with Mc, Scottish name with Mac, etc.

Hispanic surnames are a special problem.  In some countries (I think mainly Mexico but I'm not sure) the "surname" routinely used is the mother's surname rather than the father's.  Often the names will be hyphenated, i.e., the son of Maria Garcia and Juan Sanchez will list his name as Pedro Garcia-Sanchez.  When not hyphenated, he would most likely be listed as Pedro Garcia, not Pedro Sanchez.  If the name is not hyphenated, Americans would consider him to be Pedro Sanchez, but his family and records might be listed the other way. (There are a lot of areas in South Texas where Spanish is the predominant language of everyday use even among those born in the U.S. and fluent in both English and Spanish, and in such areas they often have a tendency to use the "mother's surname only" unofficially.)
  
Back to top
 
IP Logged