Is there any way to "chunk" the data in a crystal report?

Posted on 2008-11-03
Last Modified: 2012-05-05
I need to integrate a crystal report that will have about 1.3 million records into a VB6 PC application.  In the current architecture, VB6 executes the query and passes the recorset to the report.  With a recordset this size, the application is freezing up and or returning an overflow error.  I'm wondering if there is anyway to "chunk" the data inside Crystal so the data is more manageable and avoid locking up the application.  I don't want to force the user view the report in pieces - for example view the first 100k lines and then refresh it to see the next 100k.  

I'm open to any suggestions.  

Thanks in advance.
Question by:jdaingerfield
    LVL 26

    Expert Comment

    by:Kurt Reinhardt
    Why does an end user need to see 1.3 million records in a report?  It's doubtful anybody can interpret that data in a meaningful way.  If you're simply returning a ton of records so that an end user can pick out exceptions, wouldn't it be easier to write a report that identifies the exceptions?

    Author Comment

    rhinok - the short answer is no one would really want a 1.3 million line report.  However, the application MUST allow users to run report WITHOUT any filter/selection criteria.  If that happens, then the entire database is returned which is about 1.3 million records.  And if the report fails with 1.3 million recs, then the client's QA department sends it back to us to fix.

    LVL 100

    Accepted Solution

    There probably isn't much you can do through Crystal.

    Crystal cannot as you put it chnunk through the records.

    You may need to change some settings on your server to provide a larger buffer or increase timeouts.

    I also ask why you need the ability to see that many records.  If the user doesn't run with a filter then the report even if it ran fully would be relatively useless unless it was a summary tyoe report that showed only the summaries say of clients and their balances without showing all the transactions for the past 5 years.


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now