Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: new condition is not added to record selection Post Reply Post New Topic
Author Message
radheshyam
Newbie
Newbie


Joined: 01 Oct 2011
Online Status: Offline
Posts: 7
Quote radheshyam Replybullet Topic: new condition is not added to record selection
     Posted: 09 Apr 2013 at 3:36am
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.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Apr 2013 at 4:11am
try changing the select expert formula option to 'use default values for nulls'

Edited by DBlank - 10 Apr 2013 at 4:11am
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum