INTERACT FORUM

Please login or register.

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

Author Topic: ListCount function : more than x elements in list  (Read 1294 times)

Baron Samedi

  • Recent member
  • *
  • Posts: 36
ListCount function : more than x elements in list
« on: June 29, 2008, 06:04:39 am »

Hello,

I'm trying to make a smartlist with tracks having more than 8 elements in a list field and i can't find a way to use ListCount to do that.

I'm already using ListCount for equality : [=ListCount([line up])]=[3]

I've tried with =>, >=, =>= with no success. I tried to use the isEqual function too, still no success.

Has someone already made a smartlist with a similar condition?

Thanks

Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: ListCount function : more than x elements in list
« Reply #1 on: June 29, 2008, 06:11:59 am »

i use something like this in an calculated field.
Code: [Select]
IsEqual(ListCount([keywords]),15,5)this gives me the files with more than 15 keywords.
so try:
Code: [Select]
IsEqual(ListCount([line up]),8,5)
 :)
gab
Logged

Baron Samedi

  • Recent member
  • *
  • Posts: 36
Re: ListCount function : more than x elements in list
« Reply #2 on: June 29, 2008, 06:17:16 am »

Yeah after posting that message i did some more experimentations and i finally found the right formula :

[=IsEqual(ListCount([line up]),8,6)]=1

[line up] being my list field.

Without the [= ...]=1 the function doesn't work in smartlist.

Thanks for the quick answer  :D
Logged
Pages: [1]   Go Up