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

Count in group in Crystal 9.2

Status
Not open for further replies.

lana123

Programmer
Aug 20, 2003
79
US
Hi,people.
I have to show the items,items' details, group by department(count(item)has to be >=2).
I include count(item)into SelectExpert formula but I don't get any positive results.
I'll appreciate any suggestions.

Thanks,
Lana
 
Use the count function for group selection, NOT record selection. Go to report->edit selection formula->GROUP and enter:

count({table.item},{table.department}) >= 2

Substitute the correct field names for item and your department group.

-LB
 
Thank you for an answer.
I used the count function for group selection but it doesn't work(and running very slowly)
thanks,
Lana
 
Please explain what you mean by "doesn't work"--did you get an error message? Are you getting results other than what you expect? Please provide the actual formula you used, a sample of your results, and a sample of the results you expect to see.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top