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

Formula to show certain Groups

Status
Not open for further replies.

mtepfer

IS-IT--Management
Apr 21, 2003
55
US
Using CR9,

Have a report that is grouped by a client number, within that have various other information including a status number. Want to show the groups that have only status numbers of 3.

Data looks like :
Client # Name Status
1 Joe 2
1 Joe 3

2 Mike 3
2 Mike 7

3 Kevin 3
3 Kevin 3

In this instance would only want client 3's data to show.

Data is grouped on client #

Hope this is enough info, let me know if anyone needs anything else. Thanks.
 
mtepher,

Where all records within the group are 3?
or where at least one record within a group is 3?



Mike
______________________________________________________________
[banghead] "It Seems All My Problems Exist Between Keyboard and Chair"
 
Create a formula:
// formula @StatusCnt - place in detail section.
If {table.status} <> "3" the 1 else 0

In the select expert open the Group select option and enter:
Sum({@StatusCnt},{table.Client#} = 0

This should suppress printing of any groups that have a status value other than 3.

MrBill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top