I am trying to use \"In\" operator in my query the code is as shown below
Me.Aggregate.PERIOD_END_DATE.Function = MyGeneration.dOOdads.AggregateParameter.Func.Max
Me.Where.PORTFOLIO_ID.Value = dealId
Me.Where.CASH_ACTIVITY_DATE.Operator = MyGeneration.dOOdads.WhereParameter.Operand.LessThanOrEqual
Me.Where.CASH_ACTIVITY_DATE.Value = crntDistDate
Me.Where.CASH_ACTIVITY_TYPE.Operator = MyGeneration.dOOdads.WhereParameter.Conj.AND_
Me.Where.CASH_ACTIVITY_TYPE.Value = \"INITIAL FUNDING,Distribution\"
Me.Where.CASH_ACTIVITY_TYPE.Operator = MyGeneration.dOOdads.WhereParameter.Operand.In_
Me.Query.AddGroupBy(\"PORTFOLIO_ID\")
Me.Query.Load()
Return Me.PERIOD_END_DATE
The query looks somewhat like this in a watch window :
SELECT MAX(\"PERIOD_END_DATE\") AS \"PERIOD_END_DATE\" FROM GENESIS.CASH_ACTIVITY_HEADER WHERE PORTFOLIO_ID =
I am getting following exception : ORA-00936: missing expression
I am not sure why this is happening
Any help is appreciated ?
Thanks
Ketal
