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 March 21st, 2004, 10:44 PM
    keylen keylen is offline
    Junior Member
     
    Join Date: Mar 2004
    Posts: 3
    keylen is an unknown quantity at this point (<10)
    Unhappy Using multiple tables and 1 group

    Hi everyone.....

    I am using Crystal reports embedded in VS .NET but I am actually having problems with my principal report

    I´ve 2 DB, one DB is MySQL and the another is Access.

    I have a table in my access database called "TblSpot", this table contains spot info (its columns are spotName, productName,ClientName, spotURL, spotVersion,spotDurationn) actually this table contains only 17 data rows.

    I have a table in MySQL database called "TblSpotReproduction", it contains spot reproduction info (its columns are spotName. playerName, reproductionTime) also it has 150000 data rows.

    I tried to make a report grouped by SpotName with only TblSpotReproduction:

    SpotName <------ Init Group Header
    ---------------------------------------------
    playerName reproduction Time
    ---------------------------------------------------
    <---------End Group Header

    ALL DATA
    ..
    .
    .
    .
    .

    ----------------------------
    Group Foot

    Next group etc etc etc


    This report works perfectly. It shows the solution delayed but it works perfectly.

    But my client ask me to make a better report that include spot information. For that i´d to include the Access database. My new report must be like this:

    SpotName <------ Init Group Header
    spotURL
    spotVersion
    Client
    Product
    spotDuration
    ---------------------------------------------
    playerName reproduction Time
    ---------------------------------------------------
    <---------End Group Header

    ALL DATA
    ..
    .
    .
    .
    .

    ----------------------------
    Group Foot

    Next group etc etc etc

    My problem is that this reports never open, i think that the combination of 2 databases causes CR crash, maybe the combination between 150000 rows with 17 rows make a impossible JOIN. Friends told me I have to use sub-reports but i have no idea how to use them on the fly.

    P.D. Sorry for my really bad english.


    Thanks for advance-----

    Keylen
    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 06:44 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