|
Subject:
|
Crystal Report problem
|
|
Posted By:
|
donsls
|
Post Date:
|
10/10/2006 9:27:40 AM
|
I have 2 problems. 1. VS2005 and Crystal report is slower than VS2003 and Crystal In my web application when the users select the crystal report, it shows the report parameters. User could enter the parameters and click on the display button to run the report. My problem is when I run the same report through Crystal Reports XI, it takes only 30 seconds to run, but my Visual Studio 2005 application takes close to 70 seconds to run the report. I wrote the same application using Visual Studio 2003 and it takes only 30 seconds for the report. I am not sure why VS2005 is taking a much longer time to run the report. If any one have any suggessions, please let me know.
2. When I display parameters for a report it works well only with a single report. When there is a sub report involved, my code display all sub report parameters. Even the ones that I do not prompt to the user (ones that's been used to link the main report with the sub report). I want to get only the prompted parameters to the user. Following is my code. Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
For i = 0 To myParameterFieldDefinitions.Count - 1 Response.Write myParameterFieldDefinitions(i).Name Next
If you know the answer for any of the above problems please let me know. Any help is greatly appreciated.
donsls
|
|