INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: 221bBS on January 22, 2008, 10:12:50 pm

Title: Expression Help: ListCombine & IsEqual
Post by: 221bBS on January 22, 2008, 10:12:50 pm
I'm a noob when it comes to expressions so any help will be welcomed  ;D

Here are the fields I am using...

MC Default Fields
Artist
People


Custom Fields
Artist: Additional - List semicolon delimited
Artist: List - Expression: ListCombine([Artist],[Artist: Additional])
Artist: Sync - Expression: If(IsEqual(Artist: List], [People], 0),Yes,No)

I copied the Artist: List field to the People field and use the Artist: Sync field to make sure that both are the same but I can’t seem to get it to work, the Artist: Sync field. It keeps saying that the 2 fields are not synced.

What I wanted to do from the start was to use the Artist: List field as a List (semicolon delimited) field but doesn’t seem to work that way…or am I doing something wrong? Maybe there is a work around that I don’t know about.
Title: Re: Expression Help: ListCombine & IsEqual
Post by: Matt on January 22, 2008, 11:22:00 pm
It looks like there's a bracket missing around Artist: List in the sync expression.  Could that be it?

And remember that compare will not be equal unless the list and the order of the list is the same.
Title: Re: Expression Help: ListCombine & IsEqual
Post by: marko on January 23, 2008, 01:45:37 am
And remember that compare will not be equal unless the list and the order of the list is the same.
Which is only one of the reasons I keep asking if it's possible for MC to save its list fields in alphabetical order in the same way a certain 'other program' does?
yay or nay?

-marko.
Title: Re: Expression Help: ListCombine & IsEqual
Post by: 221bBS on January 23, 2008, 07:14:40 am
It looks like there's a bracket missing around Artist: List in the sync expression.  Could that be it?

Stupid me... That was it :-[

And remember that compare will not be equal unless the list and the order of the list is the same.

Since I am using the Copy/Move Fields tool (Copy Artist: List -----> People) the only way that the two fields will not equal is if I alter the Artist or Artist: Additional fields.