Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: using IN in formula filter Post Reply Post New Topic
Author Message
jbalbo
Senior Member
Senior Member
Avatar

Joined: 17 Feb 2011
Online Status: Offline
Posts: 219
Quote jbalbo Replybullet Topic: using IN in formula filter
     Posted: 06 Feb 2013 at 6:03am
Sorry fairly dumb question
{IDENTIFIER_TYPE.Code} in  {@clint_ident}



where  {@clint_ident}   = "28" or "29" or "30" or "14"


Thanks in Advance
IP IP Logged
Schugs
Newbie
Newbie


Joined: 08 Aug 2012
Online Status: Offline
Posts: 36
Quote Schugs Replybullet Posted: 06 Feb 2013 at 11:20am
is {@clint_ident} a string or an array? how does {@clint_ident} get set?
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 06 Feb 2013 at 8:11pm
Hi

I don't think you need IN operator here, because, your {@clint_ident} will pick only one value at any point of time.

It is checking  with 'OR' so, once any condition satisfy it will not look at other values.

you can very well use IN operator in formulas like

{IDENTIFIER_TYPE.Code} in  {@clint_ident}

Thanks,
Sastry
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