Still Having a Problem Counting a String Field
- From: "John Harris" <harris@xxxxxxxx>
- Date: Tue, 10 May 2005 11:18:31 -0400
I have asked for help on this item in the past but I am still having trouble
getting it to work.
To review it, I have a database (SQL) connecting through ODBC on CR 11.
Currently there are 8 records in it (because I wanted a number I could work
with while building the report). 4 are label as 'Prenatal' and 4 are
'Infant' in the table Screenings under the field Screen_Type.
I need to Count the numer of each type I have.
I have done it this way:
Created a Formula field called PrenatalCount and inserted this formula:
IF {Screenings.Screen_Type}= 'Prenatal'
then 1
else 0
Then did a SUM on that field. I did the same for the Infant side.
I am getting a sum of 208 for Prenatal and 218 for Infant.
Can anyone help me in this? What am I doing wrong??
.
- Follow-Ups:
- Re: Still Having a Problem Counting a String Field
- From: Iain
- Re: Still Having a Problem Counting a String Field
- From: Rob Diamant
- Re: Still Having a Problem Counting a String Field
- Prev by Date: Re: calculate the sum of rowfields
- Next by Date: CR10 Breaks when MergeModule Installed
- Previous by thread: calculate the sum of rowfields
- Next by thread: Re: Still Having a Problem Counting a String Field
- Index(es):