I have the following @prompt with a case statement:
Syntax:
@Select(Dealer\Dealer Name) IN (SELECT case when @prompt(‘Enter Dealer Name(s) or type ALL’,‘C’,‘LOV Objects\Dealer Name’,multi,free)=‘ALL’ then @Select(Dealer\Dealer Name) else @prompt(‘Enter Dealer Name(s) or type ALL’,‘C’,‘LOV Objects\Dealer Name’,multi,free) end FROM DUAL)
When I parse the object I get the ORA-00920 Invalid Relational Operator error . I have search BO knowlege base and BOB, but have not found a solution. The BO KB recommends adding “eval_without_parenthesis=Y” to my Oracle .prm file, but this does not work.
I am using the case statement to allow the use of “ALL”. I know you don’t need the case statement, but I understand that the indexes are ignored unless the case statement is used (something I have not verified just trusting a co-worked who claims they’ve tested this theory).
Can anyone help me understanding why this prompt condition is not parsing?
Thanks,
Kim
kim snead (BOB member since 2002-08-21)