If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Conditional security filters

Started by platipuss, 02 Mar 2010 10:56:59 AM

Previous topic - Next topic

platipuss

What I am trying to do logically is

if(#prompt('pmt','INTEGER','-1')# > 0)
then(
     data item in (select * from table where id = #prompt('pmt','INTEGER','-1')#)
)
else(
     do nothing
)


I know the filter will except something like

dataitem = if(1=1)then( 1 ) else ( 0 )

but I don't see a way to solve this problem with that syntax.

Thank you

platipuss

if (a) then
(b)
else
(c)

Use:

(a and b) OR ((not a) and c)

Just thought I would share