G
Guest
I've been developing a VB .NET Windows Form app that utilizes the built-in
Crystal Report Viewer. When I create typed instances of my report document
and my ADO.NET dataset and then apply the dataset to the report document, it
takes up to 5 minutes to process the single line of code. Here's a code
example:
Dim rpt As New TypedReportDocument
Dim ds As New TypedDataSet
' this next line takes up to five minute to process!
rpt.SetDataSource(ds)
Some other information: the dataset has approx. 20 tables without any
built-in constraints or links. It's just a simple definition of the data.
My only thought is when you apply the dataset to the report document, the
report document is going through the entire linking process to link the
tables together.
Perhaps if I link the data tables in the dataset in the dataset designer, I
can cut the execution time down.
Any other ideas? Or has someone found a solution to this problem? Thanks in
advance!
Crystal Report Viewer. When I create typed instances of my report document
and my ADO.NET dataset and then apply the dataset to the report document, it
takes up to 5 minutes to process the single line of code. Here's a code
example:
Dim rpt As New TypedReportDocument
Dim ds As New TypedDataSet
' this next line takes up to five minute to process!
rpt.SetDataSource(ds)
Some other information: the dataset has approx. 20 tables without any
built-in constraints or links. It's just a simple definition of the data.
My only thought is when you apply the dataset to the report document, the
report document is going through the entire linking process to link the
tables together.
Perhaps if I link the data tables in the dataset in the dataset designer, I
can cut the execution time down.
Any other ideas? Or has someone found a solution to this problem? Thanks in
advance!