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!

count records

Status
Not open for further replies.

nat35

Programmer
Nov 10, 2002
86
AU
Hi there
I need to be able to count how many records have a value and have many haven't
example job_No Value
1 $50
2 $0
3 $10
with value = 2 without = 1

Any one have any ideas
thank you
 
Create 2 formulas :

{@HasValue}
If {Value} > 0 then 1 else 0

{HasNoValue}
If {Value} = 0 then 1 else 0


Then place these in the detail, right click on the fields, insert, summary and sum the fields.

You can now delete the fields from the detail.

Hope this helps.

Reebo
Scotland (Sunny with a Smile)
 
Thank you for that
While I was waiting for reply
I worked out how to do it. and it is the same way!!!
Nat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top