Good morning Folks,
I'm looking for some help on how to build an expression that extracts some data that can be of varying lengths between two slashes please see below example data
=================
File SearchFolderDateG:\01 Archiving\Instant Take Ups Cashless Batched (CC&DD)\20110712\Gloria Bonnell\326E0395-DF75-44E4-B95B-8D1623222144.TIFInstant Take Ups Cashless Batched (CC&DD)20110712
File SearchFolderDateG:\01 Archiving\Instant Take Ups Cashless Batched (CC&DD)\20110712\Deb Morrissey\DE5D1AE1-86C8-4C9E-9F3F-DEC53C8E82C0.TIFInstant Take Ups Cashless Batched (CC&DD)20110712
File SearchFolderDateG:\01 Archiving\Instant Take Ups Cashless Batched (CC&DD)\20110712\Cath Archer\C0820254-B317-4C6F-93C3-9F7AE784BF5C.TIFInstant Take Ups Cashless Batched (CC&DD)20110712
=====================
So the data I want to pull out into a seperate column is the persons name i.e.
Cath Archer
Deb Morrisey
Gloria Bonnell
I think that the Mid function is what is needed here, but I can't work out how to use this function to target the data between the slash at the front of the persons name and the slash at the end of the persons name.
I know that the front slash will always have the starting position of 68 but I don't know what the ending position of the slash at the end of the persons name will be because each persons name is of a different length.
So I have something like this in the field row of my query:
Name: Mid([strFPath],68, ****) This astrisk is what I need to resolve.
Any help would be greatfully appreciated.
John
I'm looking for some help on how to build an expression that extracts some data that can be of varying lengths between two slashes please see below example data
=================
File SearchFolderDateG:\01 Archiving\Instant Take Ups Cashless Batched (CC&DD)\20110712\Gloria Bonnell\326E0395-DF75-44E4-B95B-8D1623222144.TIFInstant Take Ups Cashless Batched (CC&DD)20110712
File SearchFolderDateG:\01 Archiving\Instant Take Ups Cashless Batched (CC&DD)\20110712\Deb Morrissey\DE5D1AE1-86C8-4C9E-9F3F-DEC53C8E82C0.TIFInstant Take Ups Cashless Batched (CC&DD)20110712
File SearchFolderDateG:\01 Archiving\Instant Take Ups Cashless Batched (CC&DD)\20110712\Cath Archer\C0820254-B317-4C6F-93C3-9F7AE784BF5C.TIFInstant Take Ups Cashless Batched (CC&DD)20110712
=====================
So the data I want to pull out into a seperate column is the persons name i.e.
Cath Archer
Deb Morrisey
Gloria Bonnell
I think that the Mid function is what is needed here, but I can't work out how to use this function to target the data between the slash at the front of the persons name and the slash at the end of the persons name.
I know that the front slash will always have the starting position of 68 but I don't know what the ending position of the slash at the end of the persons name will be because each persons name is of a different length.
So I have something like this in the field row of my query:
Name: Mid([strFPath],68, ****) This astrisk is what I need to resolve.
Any help would be greatfully appreciated.
John