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!

extra query for 1 field

Status
Not open for further replies.

johnugly

Programmer
Jun 21, 2004
31
BE
Hello, is it possible in CR to do a call to the database for just one field (this field is in a subreport), or do you need to get up all your data by query when the report loads?
thanks in advance.
 
Which Crystal? In Crystal 8.5, I've done a lot of reports mixing database data with queries from Stored Procedures, which needs subreports since the two don't mix.

If it is just one data item for the whole report, that is the best way to do it. Subreports in detail lines make the report very slow, and are best avoided.

I recently re-wrote a Crystal Report and its Stored Procedure. I had been getting customer details using a subreport. But when I re-wrote the Stored Procedure to get customer details directly, the speed-up was remarkable.

Madawc Williams (East Anglia)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top