Advertisement

06.24.2008 at 11:58AM PDT, ID: 23512157
[x]
Attachment Details

Functions to Extract Name into Last Name, First Name, and MI

Asked by IEHP1 in Access Coding/Macros, Miscellaneous Programming, SQL Query Syntax

Tags: MS, Access, 2000, Extract Last Name Function

Can anyone help me to write three functions in vba access in order to extract the name like the examples below into last name, first name and MI?

the format of the name is "First Name", "MI", "Last Name" and "Suffix".
however, if there is no "MI", the MI part will be missing.

CREE L SHUMPERT
JOSE G. HERNANDEZ JR
MICHELLE HERNANDEZ
CHEYENNE A CORRAL
KENYA AGUINIGA
SHIRLEY MENDEZ-PENA

Thanks!

for example,
one of the name is "JOSE G. HERNANDEZ JR"
lastname(name) = "Hernandez"
firstname(name) = "Jose"
MI(name) = "G"
Start Free Trial
[+][-]06.24.2008 at 12:07PM PDT, ID: 21859218

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Miscellaneous Programming, SQL Query Syntax
Tags: MS, Access, 2000, Extract Last Name Function
Sign Up Now!
Solution Provided By: mriz81
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628