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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to get a Percent

Status
Not open for further replies.

Livinit

Programmer
Feb 20, 2003
5
US
I have a yes and no column 1=yes , 2=no.
I want to get the percent of the yes's among the group as apposed to the no's

 
I assume in your report you want it at the report footer. So, make a text box, and set the control sourcse to be either -

=Sum(IIf([Field]=1,1,0)) (Counts the 1's)

Or

=Sum(IIf([Field]=2,1,0)) (Counts the 2's)

Where field is your field name.


ChaZ




Ascii dumb question, get a dumb Ansi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top