Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula problem

Status
Not open for further replies.

bharathi228

Programmer
Feb 12, 2009
12
hello

iam having status,parameter name,hours as fileds in my table

my report is grouping with parameter name

iam displaying parameter name wise status,hours in every group.
iam calculating percentage for hours.

its working fine.

my problem is

in report footer i want to display the percentage of status ('SVC')


in sqlquery

select hours from table where status in ('SVC')
 
You could do a running total for records with status 'SVC'. Also a count of all records. Then in the report footer, use a formula field to calculate the percentage.

If you're not already familiar with Crystal's automated totals, see FAQ767-6524.


[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top