INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Expression Help: ListCombine & IsEqual  (Read 1645 times)

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Expression Help: ListCombine & IsEqual
« 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41937
  • Shoes gone again!
Re: Expression Help: ListCombine & IsEqual
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8940
Re: Expression Help: ListCombine & IsEqual
« Reply #2 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.

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Expression Help: ListCombine & IsEqual
« Reply #3 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.
Logged
Pages: [1]   Go Up