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!

Counting Records based of Bolean value

Status
Not open for further replies.

CappsRLO

Vendor
Apr 18, 2007
31
US
I have a list of records which contain a Bolean field (True,False). In the SQL DB the value shows as 1 or 0.

I am unable to find a formula to give me a number for records that are True and False.
Example: Records that are True = 100
 
Create two separate formulas to place in the detail section:

//{@true}:
if {table.field} = true then 1

//{@false}:
if {table.field} = false then 1

Right click on each of these and insert a summary (a sum, NOT a count).

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top