CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Deploying Windows Server 2008 with System Center
  • Remote Desktop Protocol Performance Improvements in Windows Server 2008 R2 and Windows 7
  • The Microsoft Dynamics CRM Security Model
  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old July 26th, 2005, 05:30 AM
    steve_c steve_c is offline
    Junior Member
     
    Join Date: Apr 2005
    Posts: 3
    steve_c is an unknown quantity at this point (<10)
    Crystal Reports with VS.Net slow

    Hi all - my crystal reports with vb.net take an age to load - I'm using datasets. Having looked around - I can see a lot of people saying I should use OLE or connect to the SQL Server Directly - I've about 20 reports so fa r- how would I go about changing the way in which they are created? At the moment I have a prefview form with this code:


    Dim orpt As New rptlibrarylist()

    'Fill Dataset
    Me.SqlSelectCommand1.Parameters("@customerid").Value = global.selectedlibrarycustomerval
    DAPrintLibrarylist.Fill(DsPrintLibraryList1)


    orpt.SetDataSource(DsPrintLibraryList1)

    'Set Report
    CrystalReportViewer1.ReportSource = orpt

    I've got around it slightly by adding a hidden report onthe startup form so that crystal starts when a person logs into the windows app and the wait is obviously less noticeable - is this the best workaround?

    Thanks.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:11 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.