Hi All,
I am trying use multiple condition in chosefromlist... But when i use multiple conditions. chosefromlist object does not fetch any row. If I use one condition then it works...
this is my code. I am not getting what's the problem with this code...
for (int i = 0; i <= dSet.Tables[0].Rows.Count - 1; i++)
{
c = oCons.Add();
c.BracketOpenNum = 1;
if (i >= 1 && i <=dSet.Tables[0].Rows.Count - 1)
c.Relationship = SAPbouiCOM.BoConditionRelationship.cr_OR;
c.Alias = "ItemCode";
c.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL ;
c.CondVal = dSet.Tables[0].Rows<i>["ItemCode"].ToString();
c.BracketCloseNum = 1;
}