Folks,
I have a problem with a badly behaving report (grin). We're trying to run the report from a far-remote SQL server. My WHERE clause runs fine in developer but won't run (at all) on the APS -- it blanks out. The server has hundreds of thousands of records, and a typical run w/out any remote criteria can take 4 hours. It takes about 30 seconds in Developer.
Can you guys help me figure out how to "break" the where to force the majority of the WEHRE to be exported to the server rather than bringing everything back and processing locally?
The where is split into main clauses:
Status condition AND
ticket type AND
Date limit AND
(multiple field test from a parameter array).
The last clause is what is causing the WHERE to fail (I believe). If I can force Crystal to pass the other three clauses to the SQL server and process the last clause locally, I think I can reduce the report time to a few minutes. My attempts at forcing the field test clause to be split off and execute locally have not been successful.
Anybody got any ideas?
--
Marc Visconte
CSC
Lead RMS Developer
Crystal Reports
I have a problem with a badly behaving report (grin). We're trying to run the report from a far-remote SQL server. My WHERE clause runs fine in developer but won't run (at all) on the APS -- it blanks out. The server has hundreds of thousands of records, and a typical run w/out any remote criteria can take 4 hours. It takes about 30 seconds in Developer.
Can you guys help me figure out how to "break" the where to force the majority of the WEHRE to be exported to the server rather than bringing everything back and processing locally?
The where is split into main clauses:
Status condition AND
ticket type AND
Date limit AND
(multiple field test from a parameter array).
The last clause is what is causing the WHERE to fail (I believe). If I can force Crystal to pass the other three clauses to the SQL server and process the last clause locally, I think I can reduce the report time to a few minutes. My attempts at forcing the field test clause to be split off and execute locally have not been successful.
Anybody got any ideas?
--
Marc Visconte
CSC
Lead RMS Developer
Crystal Reports