Paul-Learning
New member
- Local time
- Today, 00:35
- Joined
- Nov 7, 2021
- Messages
- 4
Hi,
I'm new to Access (using office 365) and so far it's all going well but I'm a bit stuck. I'm trying to split (in a select qry) part of a text string (which is a file path) eg:
Field "Path" eg D:\Music\CD Collection\2000\Rock\
what I'm trying to achieve is, irrespective of the number of "Parent" folders in the string just want to split out the final folder, in this case "Rock" and show this as a separate "field" on the datasheet view.
All the examples I could find were applicable to Excel. I have got the hang of "Right" function in Access but not sure how to use it with a variable number of characters.
Thanks if you can help
Paul
I'm new to Access (using office 365) and so far it's all going well but I'm a bit stuck. I'm trying to split (in a select qry) part of a text string (which is a file path) eg:
Field "Path" eg D:\Music\CD Collection\2000\Rock\
what I'm trying to achieve is, irrespective of the number of "Parent" folders in the string just want to split out the final folder, in this case "Rock" and show this as a separate "field" on the datasheet view.
All the examples I could find were applicable to Excel. I have got the hang of "Right" function in Access but not sure how to use it with a variable number of characters.
Thanks if you can help
Paul