Ken - Sorry for the confusion on the blog. I am extracting information from Exchange, and I can pull it in and filter down without issue. Now I have the body of the text for multiple e-mails that comes through as shown for one record below. I split out the Ticket Number easily, but I would also like to split out each of the remaining groups of lines into their own columns associated with the ticket number. I started splitting them out further, but quickly realized these groups for each Serial Number identified on the ticket can range from a single unit to many.
I am still the novice, but is there a tactic for dividing these variable number of groups of data of varying lengths into there own individual records?
I have looked at splitting as I said, and other options of the main menu, as well as looking for snippets of M-code, without success. Any push in the right direction to get me started would be very appreciated. Thanks!
Ticket Number 1983
Occurrence Date: 4/25/2016
Facility: Nashville, TN
Serial: PKNXXRPBPZ
Failure Category: Packaging/Kitting
Failure Detail: Carton to Serial Match
Region: South
Spoke: South - Tuscaloosa
Submitted By: ASMITH
Occurrence Date: 4/25/2016
Facility: Nashville, TN
Serial: PKNXXRRCLQ
Failure Category: Packaging/Kitting
Failure Detail: Carton to Serial Match
Region: South
Spoke: South - West Monroe
Submitted By: ASMITH
I am still the novice, but is there a tactic for dividing these variable number of groups of data of varying lengths into there own individual records?
I have looked at splitting as I said, and other options of the main menu, as well as looking for snippets of M-code, without success. Any push in the right direction to get me started would be very appreciated. Thanks!
Ticket Number 1983
Occurrence Date: 4/25/2016
Facility: Nashville, TN
Serial: PKNXXRPBPZ
Failure Category: Packaging/Kitting
Failure Detail: Carton to Serial Match
Region: South
Spoke: South - Tuscaloosa
Submitted By: ASMITH
Occurrence Date: 4/25/2016
Facility: Nashville, TN
Serial: PKNXXRRCLQ
Failure Category: Packaging/Kitting
Failure Detail: Carton to Serial Match
Region: South
Spoke: South - West Monroe
Submitted By: ASMITH