Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: formula help Post Reply Post New Topic
Author Message
sanchezgmc06
Senior Member
Senior Member
Avatar

Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Quote sanchezgmc06 Replybullet Topic: formula help
    Posted: 10 Apr 2012 at 9:06am

I have a report where i grouped on admission date and I am displaying in the details patien_id, patient_age, patient_admission_date,  patient_admitting_practitioner, and program_value

 
This means that it will give me details on every progaram the client is opened to.
 
What i need at the end of my report is a count of clients whom are open to any program that starts with "drugalc" however i need all clients displayed even the ones not opened to "drugalc".
 
Basically i need a count of the clients opened to any program that starts with drugalc
 
suggestions?
 
hope this explains what i need well
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Apr 2012 at 9:39am
use a running total (or variable formulas)
RT
name=drugalc_count
field to summarize=patientid
type= distinctcount (or count if you want duplicates)
evaluate=use a formula
{table.programname} startswith 'drugalc'
reset=never
place in report footer


Edited by DBlank - 10 Apr 2012 at 9:39am
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.016 seconds.