Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading Report takes to long...
Message
From
25/11/2004 00:29:15
 
 
To
All
General information
Forum:
ASP.NET
Category:
Reporting
Title:
Loading Report takes to long...
Environment versions
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00964594
Message ID:
00964594
Views:
34
Hi to all,

My code below permits the user to access tables from SQL server.
   Dim myTable As Table
   Dim myLogonInfo As TableLogOnInfo
   Dim oRpt As New ReportDocument

   ' Load  the Report
   oRpt.Load("D:\REPORTS\REPORTNAME.RPT")

   ' Set the username and password
   For Each myTable In oRpt.Database.Tables
      myLogonInfo = myTable.LogOnInfo
      myLogonInfo.ConnectionInfo.UserID = "UserID"
      myLogonInfo.ConnectionInfo.Password = "Password"
      myTable.ApplyLogOnInfo(myLogonInfo)
   Next myTable
Is there any other way? Because every time i load the report it takes about 6 to 7 seconds to load.

But if I preview the report from Crystal IDE it took only 2 seconds.

Thanks.
Reply
Map
View

Click here to load this message in the networking platform