KP_SoCal
Registered User.
- Local time
- Today, 01:39
- Joined
- Dec 4, 2009
- Messages
- 39
"In Between" function that behaves similarly to a "Mid String" function
In Table1, I have field name WidgetID whose records have an alpha-numeric constant of 1A23 at the beginning of each string and 432A1 at the end. In between could be any number of alpha-numeric characters. I’d like to return the results for each record into the records under field name BaseID.
The results would look something like this…
Field Name: WidgetID
Record1: 1A23abcd4A321
Record2: 1A23abcdefg4A321
Record3: 1A23ab4A321
Record4: 1A23abcde4A321
Field Name: BaseID
Record1: abcd
Record2: abcdefg
Record3: ab
Record4: abcde
I would run this function within the select statement of a query object in Access 2007. Thanks ahead of time for any help!
In Table1, I have field name WidgetID whose records have an alpha-numeric constant of 1A23 at the beginning of each string and 432A1 at the end. In between could be any number of alpha-numeric characters. I’d like to return the results for each record into the records under field name BaseID.
The results would look something like this…
Field Name: WidgetID
Record1: 1A23abcd4A321
Record2: 1A23abcdefg4A321
Record3: 1A23ab4A321
Record4: 1A23abcde4A321
Field Name: BaseID
Record1: abcd
Record2: abcdefg
Record3: ab
Record4: abcde
I would run this function within the select statement of a query object in Access 2007. Thanks ahead of time for any help!