Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Count specific string Post Reply Post New Topic
Author Message
maiketh
Newbie
Newbie


Joined: 02 Oct 2007
Location: Australia
Online Status: Offline
Posts: 2
Quote maiketh Replybullet Topic: Count specific string
    Posted: 02 Oct 2007 at 6:38pm
I know this is probably a easy answer but i have kinda been push in the deep end.

i need a formula for counting how many of a specific string. i can't seem to figure out how to get it to count just that specific string.
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 04 Oct 2007 at 11:35pm
can you tell us what you've tried so far? I would create a formula such as:
Gobal NumberVar NumStrings;
if {table.field} = "YourString" Then
    NumStrings := NumStrings + 1;

Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
maiketh
Newbie
Newbie


Joined: 02 Oct 2007
Location: Australia
Online Status: Offline
Posts: 2
Quote maiketh Replybullet Posted: 08 Oct 2007 at 5:52pm
thats just it, i am not a programmer at all, i jsut have kinda been chucked this and am trying to sort it out.

tried some of the count stuff that is in the help info in the program, that did not work
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.