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

Boolean Count 1

Status
Not open for further replies.

colkas

IS-IT--Management
Aug 26, 2003
39
SE
I have a YES NO field that I need to put a count on for only Yes. Could someone please tell me how to do this.
Thanks
 
Create a formula :

If {table.field} = Yes then 1 else 0

(replace item in bold with your boolean field)
Place this in the detail, right click, insert, summary, SUM


Reebo
UK

Please Note - Due to current economic forcast and budget constraints, the light at the end of the tunnel has been switched off. Thank you for your cooperation.
 
but how does this count, I ut the formula in and I get 0 sould be 4 trues
 
Sorry Reebo got it in the end must learn to read thanks for your help works well
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top