Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

CrossTab issue

edited November 2009 in General
Hi,

I've got a fairly simple report with a single cross tab component on it.
When I run my program and open the form I am getting a "Class TppGrandTotal
not found" exception being raised and the form doesn't even show. I've
checked the requires list of my project and it seems to contain all of the
RB*.dcp units (I checked against another project I have with crosstab
reports that is working OK). What am I missing? I'm running Delphi2007
Enterprise and Report Builder 10.09 under Windows 7.

TIA

Comments

  • edited November 2009
    Hi Willie,

    The TppGrandTotal class is declared in the ppCTMain.pas file. You might try
    changing your library path to point toward \RBuilder\Source\ and see if that
    helps the issue. Otherwise, you may have a corrupt installation and should
    try reinstalling ReportBuilder.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    Hi,

    thanks Nico, the unit Contains a reference to ppCTMain in it's top uses
    clause. I checked the project options and the search path includes
    C:\Program Files\CodeGear\Rad Studio\5.0\RBuilder\Source and there is a
    ppCTMain.pas unit there, which appears to be OK. Did you mean the search
    path (in project\option\directories and conditionals) or should I be looking
    at something else?

    I've also tried reinstalling Report Builder using
    rbent11-10-09-Enterprise.exe, which seems to install OK and build itself
    (i.e. for the TeeChart support) but I'm still getting the issue even after
    this.

    Any other ideas please?

    TIA

  • edited November 2009
    Another thought, it happens at runtime, if I view the report in the preview
    pane of the RB designer then it displays fine, so perhaps I'm missing a BPL
    in the right place?

  • edited November 2009
    Hi Willie,

    Are you building with packages? Did you try building with the RB source?
    Are you able to create a simple application with a report and a crosstab?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    The Unit that has the issue is a BPL (KTCore) in a project (Kiwitracker.exe)
    with several others. I just checked the options of the Kiwitracker.EXE and
    found some Tee* packages included in the Build with Run-time packages list.

    I took the references to the Tee packages out and rebuilt it and it seems to
    have fixed the problem.



This discussion has been closed.