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


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • 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 08:38 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009