More > JRiver Media Center 24 for Windows

expression help list of favourites and using populating calculated field

<< < (5/6) > >>

lise:
That's it. I'm running v24 on that machine.
I'll upgrade now to 27. I have to anyway as I have v27 everywhere else in the house.

wer:
Perhaps we just added And() in 26; I remember talking about it, but I don't actually see it in the release notes.

If your MC is missing And() and nothing else, the expression can be rewritten without And() by using Math() instead, as follows:

--- Code: ---IfElse(Math(IsEqual([Favourites],Jonnie Albums,8) & IsEqual([Favourites],Lise Albums,8)),Both,IsEqual([Favourites],Jonnie Albums,8),Jonnie Only,IsEqual([Favourites],Lise Albums,8),Lise Only)
--- End code ---

lise:
I installed v27 and your code results are perfect!  (well, aside from the "both" that I don't want, but at least now I can see the results). Thanks!

wer:
See my previous post from 11:01:35 pm about that.

lise:
Genius! 


--- Code: ---IfElse(And(IsEqual([Favourites],Jonnie Albums,8),IsEqual([Favourites],Lise Albums,8)),Lise;Jonnie&datatype=[list],IsEqual([Favourites],Jonnie Albums,8),Jonnie Only,IsEqual([Favourites],Lise Albums,8),Lise Only)

--- End code ---

I just replaced the Jonnie Only and Lise Only for Lise and Jonnie and now my results are perfect: Just Jonnie and Lise (and unassigned) in my list, and when I clilck on either they show the correct numbers.

I *never* would have found that on my own. Heck, I was given'er all day with ListContains and ListCombines and anything else I could throw at it.

Thank you *so* much for your patience and your generosity.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version