Hi folks,
I was using Excel to manage quite a large music DB when I hit the hard limit of Excel of about 1M lines, so I have no other option than switch to Access
As I'm not quite an Access expert, this is when I'm starting to tear my hair off
One of my DB fields contains paths and I need to extract the directory part of it
There are 3 types of strings:
M:\~Check\Artist - Year - Album\Track - Title
M:\~Queue\Artist - Year - Album\Track - Title
M:\R\Artist - Year - Album\Track - Title
With the builder, I have set the following formula:
IIf(Mid([Tracklist_Import]![Path],4,1)="~",Mid([Tracklist_Import]![Path],5,5),Mid([Tracklist_Import]![Path],4,1))
For the 3 above lines, in my understanding, this should return
Check
Queue
R
But this actually returns the following:
~Check\Artist - Year - Album\Track - Title
~Queue\Artist - Year - Album\Track - Title
R\Artist - Year - Album\Track - Title
Any advice would be appreciated!
Thanks a lot!