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

grouping by range

Status
Not open for further replies.

smeyer56

IS-IT--Management
Oct 16, 2002
206
US
CR8.5
Pervasive
Windows 2000
Is there a way to create a group selection based on a range
For example:
sales rep 1,2,3 in one group
sales rep 4,5,9 in another
and 6,7,8 in the last.
 
I have used formulas in these instances.

//@SalesGroup
if {table.SalesRep} in ["1","2","3"] then
"Sales Group 1"
else if {table.SalesRep} in ["4","5","9"] then
"Sales Group 2"
else if {table.SalesRep} in ["6","7","8"] then
"Sales Group 3"
else
"Sales Group X"

Click Insert->Group-> @SalesGroup


That's it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top