Need an efficient way to pull LAST NAME, FIRST NAME from query field. All queries return extraneous information (from canned report). I need last name, first name but queries return "TOTAL" Last Name, First Name and Middle Initial with a "." Trick is not all name fields have middle initials so a simple string function won't work (at least not one I could come up with).
Example:
Report returns- TOTAL ABNER, DELEON P.
I need- ABNER, DELEON
Another returned- TOTAL ANAYA CONCILEON, ERICA
I Need- ANAYA CONCILEON, ERICA
Some names have middle initials, some have multiple last names. Very complicated but I know this would be short work to some of the experts on this forum.
thx in advance
Bookmarks