INTERACT FORUM

Please login or register.

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

Author Topic: smartlist question: combining and with or  (Read 1010 times)

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
smartlist question: combining and with or
« on: April 05, 2009, 11:53:50 am »

I've read the wiki and experimented but cannot figure out how to implement:

(Genre=x) and ((Comment contains "y") or (Comment contains "z"))

Thanks in advance for your help.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8963
Re: smartlist question: combining and with or
« Reply #1 on: April 05, 2009, 12:16:18 pm »

[genre]=x ([comment]="y" or [comment]="z") ought to do the trick for you.

-marko

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: smartlist question: combining and with or
« Reply #2 on: April 05, 2009, 12:59:57 pm »

Works perfect, thanks.

It seems that it may not be possible to implement this expression with the Smartlist wizard.

Instead I selected Custom and entered your expression in one line and all is good now.
Logged

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: smartlist question: combining and with or
« Reply #3 on: April 05, 2009, 01:06:25 pm »

I take it back.

The wizard has some hidden bracket options for implementing "or" that I did not know existed.

Love this software...
Logged
Pages: [1]   Go Up