Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Multiple start with Post Reply Post New Topic
Author Message
nat nathan
Newbie
Newbie


Joined: 07 Sep 2009
Location: United States
Online Status: Offline
Posts: 1
Quote nat nathan Replybullet Topic: Multiple start with
     Posted: 07 Sep 2009 at 9:19am
How do i create a formula to look for mutiple start with in crystal report 8.5?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 08 Sep 2009 at 1:00pm
can you give an example?  I don't have a clue what you are looking to do.
IP IP Logged
ChristineM
Newbie
Newbie
Avatar

Joined: 19 Aug 2009
Location: United States
Online Status: Offline
Posts: 2
Quote ChristineM Replybullet Posted: 15 Sep 2009 at 12:10pm

{tablename.fieldname} startswith ["Value1", "Value2", "Value3", "Value4"]

Christine M
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 15 Sep 2009 at 1:48pm
looking at CR 11, the starts with only uses a single parameter, so I would try something like:
 
local booleanvar found := false;
 
if {table.field} startswith "value1" then found := true;
if {table.field} startswith "value2" then found := true;
...
found
 
HTH
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