BrokenBiker
ManicMechanic
- Local time
- Today, 00:51
- Joined
- Mar 22, 2006
- Messages
- 128
...edit...
Wow...I started typing out the problem/question and ended up typing a novel!
I can be a bit wordy sometimes....
So, here it goes.
I'm working on an Access file to use w/ an on-line training record system. The on-line system exports XML files, which I then save & re-name as Excel files. The system exports are based on queries which have info already concocted. Unfortunately, I need to split the name fields.
The examples I've found that I can use I've been able to separate most of the info in the field, but not quite all. ( Example 1 and Example 2) To completely split the info, I have to take the original split/query, run another query to further split the info. Not cool, and too many steps.
To clarify, all the name entries are in the same format:
Amn Smith, John D
SSgt Worker, Joe C
etc.
In the first query w/ VBA, I was able to separate all parts to individual fields except the first two (rank and surname). So, I use the same examples and a second query to separate the info further. That query's result is four fields--Rank, LastName, FirstName, MI
I'm sure there has to be a better way...all in one step.
I admittedly don't know a lot about parsing, whether w/ VBA or in queries. I really think I'm just about to grasp it all, I just need a little lift over the hurdles. Any help is appreciated.
Wow...I started typing out the problem/question and ended up typing a novel!
I can be a bit wordy sometimes....
So, here it goes.

The examples I've found that I can use I've been able to separate most of the info in the field, but not quite all. ( Example 1 and Example 2) To completely split the info, I have to take the original split/query, run another query to further split the info. Not cool, and too many steps.
To clarify, all the name entries are in the same format:
Amn Smith, John D
SSgt Worker, Joe C
etc.
In the first query w/ VBA, I was able to separate all parts to individual fields except the first two (rank and surname). So, I use the same examples and a second query to separate the info further. That query's result is four fields--Rank, LastName, FirstName, MI
I'm sure there has to be a better way...all in one step.
I admittedly don't know a lot about parsing, whether w/ VBA or in queries. I really think I'm just about to grasp it all, I just need a little lift over the hurdles. Any help is appreciated.