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

Crystal Reports Select All formula

Status
Not open for further replies.

chrissypchy

Programmer
Jun 23, 2003
40
US
Hi All,

I was wondering if anyone knew how to write a formula where if all of one attribute has the same value, for example if I had an attribute called "buystatus" and all of the values were equal to zero, I would like to just print once "All Equal to Zero" and print a million times. I hope I am making sense. I'd really appreciate anyone's input.

-Chrissy
 
I have no9t tested this but it should work.
Do a record count for the report. Use a formula like this
If BuyStatus = 0 then 1 else 0
Sum the formula. If the formula and the record count are the same suppress the details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top