New Posts New Posts RSS Feed: Reverse Polish notation question
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Reverse Polish notation question

 Post Reply Post Reply
Author
BrooksAdair View Drop Down
Newbie
Newbie


Joined: 08-Oct-2008
Location: South Florida
Posts: 14
Post Options Post Options   Quote BrooksAdair Quote  Post ReplyReply Direct Link To This Post Topic: Reverse Polish notation question
    Posted: 15-Oct-2008 at 9:45am
I am just getting into OQL and I need to build a query that ORs 7 conditions together. I know if it were 2 conditions I would put the call to AddOperator(EntityBooleanOp.Or) after the second call to AddClause(). Where do I put it for 7 conditions?
Back to Top
GregD View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 374
Post Options Post Options   Quote GregD Quote  Post ReplyReply Direct Link To This Post Posted: 19-Oct-2008 at 10:48am
Condition1
Condition2
OR
Condition3
OR
Condition4
OR
Condition5
OR
Condition6
OR
Condition7
OR
 
Back to Top
BrooksAdair View Drop Down
Newbie
Newbie


Joined: 08-Oct-2008
Location: South Florida
Posts: 14
Post Options Post Options   Quote BrooksAdair Quote  Post ReplyReply Direct Link To This Post Posted: 20-Oct-2008 at 6:31am
Thanks for the reply.

I looked up some info on RPN for scientific calculators and I had tried the following before I got your reply:
Condition1
Condition2
OR
Condition3
Condition4
OR
OR
Condition 5
Condition 6
OR
OR
Condition 7
OR

Which seems to work. Are your query and my query equivalent?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down