I have added a new condition in the crystal report. It is not filtering based on the new criteria but instead filtering with the old criteria.
Record selection formula is as follows:
{ORDERS.SOLDDATE} >= {?from} and {%datepart to} <= {?to}
and {@surveyfee}
and {SALESBRANCHES.BRANCHNAME} = {?branch}
and {ORDERS.ORDERSTATUSID} <> 1 and {ORDERS.ORDERSTATUSID}<>2
and (
({ORDERS.ORDERSTATUSID}<>6)
or
(
{ORDERS.ORDERSTATUSID}=6 and (isnull({ORDERS.DEAD_SUBSTATUS}) = true or {ORDERS.DEAD_SUBSTATUS} = 0)
))
and {ORDERID.userid}={?userid}
Newly added line is {ORDERID.userid}={?userid}. It is not filtering based on the newly added condition.
could anyone help please.
Record selection formula is as follows:
{ORDERS.SOLDDATE} >= {?from} and {%datepart to} <= {?to}
and {@surveyfee}
and {SALESBRANCHES.BRANCHNAME} = {?branch}
and {ORDERS.ORDERSTATUSID} <> 1 and {ORDERS.ORDERSTATUSID}<>2
and (
({ORDERS.ORDERSTATUSID}<>6)
or
(
{ORDERS.ORDERSTATUSID}=6 and (isnull({ORDERS.DEAD_SUBSTATUS}) = true or {ORDERS.DEAD_SUBSTATUS} = 0)
))
and {ORDERID.userid}={?userid}
Newly added line is {ORDERID.userid}={?userid}. It is not filtering based on the newly added condition.
could anyone help please.