No, you can't use IN in Siebel, it's not a valid search operator. But at least, you can simplify your expression by using a search specification instead of a search expression. These two lines do exactly the same:
bc.SetSearchExpr("[Id]='a' or [Id]='b' or [Id]='c'");
bc.SetSearchSpec("Id", "='a' OR ='b' OR ='c'");
Note that you can't use both SetSearchSpec and SetSearchExpr methods simultaneously.
5
Rahul Tripathi
On
You can use OR like this:
bc.SetSearchExpr("[Id] = 'a' or [Id] ='b' or [Id] ='c')");
but I think using IN is better than using OR.
Other than using IN or OR you dont have any option.
No, you can't use
IN
in Siebel, it's not a valid search operator. But at least, you can simplify your expression by using a search specification instead of a search expression. These two lines do exactly the same:Note that you can't use both
SetSearchSpec
andSetSearchExpr
methods simultaneously.