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

Total of

Status
Not open for further replies.

capimaz

Technical User
May 22, 2002
2
MX
I'm tryin to do a report that give the total of persons that use cars. For example:

name use a car?
peter YES
bill YES
arnold NO
ruben YES

in the reporte footer I'm using this in a text box

=count([car]) and the result is 4, not 3

any idea about this??

 
if "Use a car" is a boolean field, the data in this field is -1 when it displays "yes" and 0 when it displays "no". Therefore, the source of the textbox is

(-1)*sum([use a car])

Seaport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top