Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Placing Parens Please (PPP) Post Reply Post New Topic
Author Message
BoltzGirl
Groupie
Groupie
Avatar

Joined: 22 Jan 2013
Online Status: Offline
Posts: 89
Quote BoltzGirl Replybullet Topic: Placing Parens Please (PPP)
    Posted: 17 Jul 2018 at 12:27pm
This is my selection criteria on a new report and I obviously have my parens in the wrong place for the ending OR statements as the report is only pulling the first line that is 'CHG REFERRAL TYPE: OBS TO INP'. It's not picking up the last 2 lines of the stmt.

{AUTHS.IPACD} = {?IPA} and
{AUTHS.GRPID} like {?HealthPlan} and
{AUTHS.ReferralType} like {?AuthType} and
{AUTHS.PLNTP} like {?LOB} and
{AUTHS.Status} = "Approved" and
{AUTHS.DecisionDateTime} in {?BegDate}to {?EndDate} and

(
({AuthStatusChangeLog.CHGFNC} like 'CHG REFERRAL TYPE: OBS TO INP')
or
({AuthStatusChangeLog.CHGFNC} like 'CHG REFERRAL TYPE: OPT TO INP')
or
({AuthStatusChangeLog.CHGFNC} like 'CHG REFERRAL TYPE: OPT TO OBS')
)
Always appreciate the help!
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 18 Jul 2018 at 7:46am
Just a question, not that it changes anything.  Why are you doing a like if you are not using a wildcard?
IP IP Logged
BoltzGirl
Groupie
Groupie
Avatar

Joined: 22 Jan 2013
Online Status: Offline
Posts: 89
Quote BoltzGirl Replybullet Posted: 18 Jul 2018 at 7:58am
RESOLVED: I was trying to delete my post but it would not let me, but have found my answer and it was not my parens.   Thank you!
Always appreciate the help!
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.031 seconds.