i have a requirement that i need to add"All" to an object . If he/she selects All then report has to display by considering all the values in the object. for this, i idi
edit object and add union select ‘…ALL’.
and in where clause
@Select(class\object) in
@prompt('01.Enter value(s) for xxx:','A','class\object',Multi,Free,persistant,)
OR ('...ALL') IN
@prompt('01.Enter value(s) for xxxx:','A','class\object',Multi,Free,Persistent,{'...ALL'})
Parse OK. While i drag and drop the object in query panel and click Run / view button it is not responding. Even sql also giving parse ok.
Did you try using the same prompt definition in both places? Like this:
@Select(class\object) in
@prompt('01.Enter value(s) for xxxx:','A','class\object',Multi,Free,Persistent,{'...ALL'})
OR ('...ALL') IN
@prompt('01.Enter value(s) for xxxx:','A','class\object',Multi,Free,Persistent,{'...ALL'})
One question for you: Why do you have the above code in the where clause of your object instead of as a condition object in the universe?