AGG Software Forums
November 22, 2024, 09:06:15 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: Expressions Plugin  (Read 14804 times)
suprsnipes
Jr. Member
**

Karma: +0/-0
Posts: 19


View Profile
« on: June 02, 2009, 07:34:01 AM »

Hi,

As I am not familiar with the correct terminology I am having some trouble using the expressions plugin and I was hoping to get some help.

This is what I am trying to achieve.

I want to show true or false if the following Variable is met.

Conditional: IIF
Variable: TYPE
Operator: =

in this case IIF(`TYPE`='N',true,'false')

I have also tried it like this;

IIF(TYPE=N,true,false)

But can't seem to get it to work. If you can please provide an example with my variables above so I can get this working...



Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: June 02, 2009, 07:49:14 AM »

Please, try

RESULT = IIF(TYPE='N','Y','N')

Please, note, that IIF function can't return a value with the boolean type. You should change your expression to

RESULT = (IIF(TYPE='N','Y','N') = 'Y')

or simplify it

RESULT = (TYPE='N')
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines