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

Can I MODIFY the CrossTable ?

edited September 2002 in General
Hi,
I generated my cross table report in the cross table designer, but it seems
that there is no way to modify the format of the cross table, i.e. add some
lines or labels
to it.
Is there any way to do this?

Any help will be appreciated.

zgl

Comments

  • edited September 2002
    There are a couple of options and I have quickly rated each approach.

    1. Moderate. You can create your own crosstab renderer or manuipulate the
    draw commands that are created by the crosstab. This can be done by
    registering your own renderer and adding property(s) that control this
    behavior. See ppCTRend.pas in the installed RBuilder\Source directory for
    an example to start with.

    2. Easier than 1. You can modify the matrix after it has been caclulated and
    before the renderer gets a chance to execute for the matrix. Use the
    Crosstab.AfterCalc event. Here is an example.

    http://www.digital-metaphors.com/tips/EmptyGridUsingCrosstabs.zip


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.