Joined: 19 May 2011
Online Status: Offline
Posts: 106
Posted: 19 May 2011 at 6:43am
If the calculation. so for example if I count the number of times a word shows up in a column, I want it to show the total but if it shows up 500 times I just want it to say 100
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 19 May 2011 at 7:23am
if it is simply for display purposes and not additianl calculations you can just use the 'Display string' in the common tab of the foramt editor for the field
if currentfieldvalue>100 then '100' else totext(currentfieldvalue,0,'')
Joined: 19 May 2011
Online Status: Offline
Posts: 106
Posted: 19 May 2011 at 7:50am
It worked great when I run the report in crystal but the company is using a program called i-net server for end users to access and when I run it thru that it shows the original number.
Joined: 19 May 2011
Online Status: Offline
Posts: 106
Posted: 20 May 2011 at 4:01am
I am new to crystal but I am wondering why you have the <20 or should that be 100 and I am also not sure what the other criteria would be. I have tried numbers and statements but i just errors saying it is looking for numbers or boolean.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 20 May 2011 at 7:10am
Sorry Kev,
You are correct it should have been 100 (I pasted a test formula that I used 20 on)
The 'Other Criteria here' is for you to add your other inclusion criteria (like the word that you are counting in the column). It needs to be a boolean (True/False) result like
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