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

Count with Perform Grouping on Server in CR 8.5

Status
Not open for further replies.

eocea

Programmer
Jul 7, 2003
1
US
I am attempting to create a report that has three tables (simple view):

Project
-------
ID
Name

Locations
---------
ID
Name
ProjectID

Registrations
-------------
ID
Name
ProjectID

When I create a report that includes Locations.Name and Count(Registrations.ID) grouped by Locations.Name it returns the correct counts. However when I turn on the Perform Grouping on Server option it shows all the counts as 0. If I take the query from Show SQL Query... and run it in TOAD, SQL Plus, et al. it does show the correct output. My problem is that the query takes too long when grouping on the client.

I have used a Crystal SQL Query as a solution, but it doesn't offer me the exact flexibility I need, but it works in the short term.

Any ideas?

Thanks in advance. :)
 
You might want to check your indexes to make sure that all of the fields in your joins, as well as Where/Group By clauses are covered.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top