INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: wig on January 09, 2015, 07:10:15 am

Title: Expression Help (comparing fields)
Post by: wig on January 09, 2015, 07:10:15 am
I'm hoping one of the board's expression wizards will be able to help me with this question.

I would like to compare the values of two different fields for my library collection, and display all items that don't have identical values.

The specific example: I have a custom field called [Comment Expression]. I would like to test it against the [Comment] field, and display all the items where the values don't match.

Any ideas?
Title: Re: Expression Help (comparing fields)
Post by: Matt on January 09, 2015, 09:11:24 am
If(IsEqual([Comment Expression], [Comment]), [Comment], nothing)
Title: Re: Expression Help (comparing fields)
Post by: wig on January 10, 2015, 07:52:21 am
Thanks, Matt!

I ended putting that expression in a custom field, and then creating a smartlist to display all of the files where the values weren't equal. It works exactly like I was hoping for.