Hello!
I have created a very basic report (only names and ID-numbers for employees) with a subreport in it, containing sales information for that particular employee. I linked the subreport to a field in the mainreport in the “change subreport link” screen. I used the ID-field for that.
Now when I want to print the records for all employees, the query is sent to the database a few hundred times and the results are filtered the moment they come back. This is not very efficient in my opinion, it takes forever to get the results back and the server is under great stress .
My question: is there another way to link the subreport, so that I can speed up the report? Because I can’t use it like this. Is it possible to send the query once and get back all the results in one time, and then have the sent to the subreport the should be in?
I hope someone can help me… thanks in advance!
I have created a very basic report (only names and ID-numbers for employees) with a subreport in it, containing sales information for that particular employee. I linked the subreport to a field in the mainreport in the “change subreport link” screen. I used the ID-field for that.
Now when I want to print the records for all employees, the query is sent to the database a few hundred times and the results are filtered the moment they come back. This is not very efficient in my opinion, it takes forever to get the results back and the server is under great stress .
My question: is there another way to link the subreport, so that I can speed up the report? Because I can’t use it like this. Is it possible to send the query once and get back all the results in one time, and then have the sent to the subreport the should be in?
I hope someone can help me… thanks in advance!