Filter Error
Posted: Fri Nov 26, 2010 8:52 am
Hi All,
I wrote the filter as follow:
if('Brazil' in ?Parameter1?) then
([CONTRY] in ?Parameter1?
or [CONTRY] in ('Argentina')
)
else
([CONTRY] in ?Parameter1?
)
But it prompt the error as:
UDA-QOS-0006 Syntax error near "in"
if i change the code to:
if(1=1) then
([CONTRY] in ?Parameter1?
or [CONTRY] in ('Argentina')
)
else
([CONTRY] in ?Parameter1?
)
it works fine.
Can anyone tell me why the syntax is wrong?
I wrote the filter as follow:
if('Brazil' in ?Parameter1?) then
([CONTRY] in ?Parameter1?
or [CONTRY] in ('Argentina')
)
else
([CONTRY] in ?Parameter1?
)
But it prompt the error as:
UDA-QOS-0006 Syntax error near "in"
if i change the code to:
if(1=1) then
([CONTRY] in ?Parameter1?
or [CONTRY] in ('Argentina')
)
else
([CONTRY] in ?Parameter1?
)
it works fine.
Can anyone tell me why the syntax is wrong?