Hello,
Access 2007.
I have a field "Account" with this data:
12*2222*22
3*88888*779
99*22433*1
I would like a formula for "Location" that would return only the info between the "*":
2222
88888
22433
This formula almost works but returns the numbers with an * at the end:
Location: Trim(Mid([Account],InStr(1,[Account],"*")+1,InStr(InStr(1,[Account],"*")+1,[Account],"*")-InStr(1,[Account],"*")))
Any help would be appreciated.
Thanks!
Access 2007.
I have a field "Account" with this data:
12*2222*22
3*88888*779
99*22433*1
I would like a formula for "Location" that would return only the info between the "*":
2222
88888
22433
This formula almost works but returns the numbers with an * at the end:
Location: Trim(Mid([Account],InStr(1,[Account],"*")+1,InStr(InStr(1,[Account],"*")+1,[Account],"*")-InStr(1,[Account],"*")))
Any help would be appreciated.
Thanks!