Hello,
I am attempting to create a custom view which initially groups artists (names) by alphabet (A, B, etc...) showing, on roll up, "Artists" whose names begin with the selected letter category. Again on roll up, selecting "Albums" on an artist shows the artists' albums.
The custom view combines the categories "ArtistG," "Artists," and "Albums." These categories I have defined as user fields, with expressions. These expressions are:
"ArtistsG" = if(isequal([album artist (auto)],/(multiple,8),/(various),if(isequal(mid([album artist (auto)],0,3),the,1),mid([album artist (auto)],4,1),if(isequal(Mid([album artist (auto)],0,1),1,6),0 - 9,Mid([album artist (auto)],0,1)))
"Artists" = if(isequal([album artist (auto)],/(multiple,8),/(various),[album artist (auto)])
"Albums" = if(isempty([album]),,[album])
The custom view works, but there a couple of artifacts that belie my inexperience with expressions. For example, the primary alphabetical groups show 0,A, 0,B, 0,C, etc. Also, the artists under each alphabet letter are showing 0, Bob Dylan), or 0, Van Morrison).
If someone is so inclined, I could use a bit of help cleaning the expressions.
Thanks, Ron