Cross tab simple report

BJLBJL Brussels, Belgium
edited 5:51AM in FastReport 2.xx VCL
Using FR 2.53 and BCB6.
Problems encountered in a simple Cross Tab report similar to the 13.FRF of the demo, but with a dataset.

Problem 1

The report is correctly prepared and displayed when the variable number of
columns fit into one page. If the number of columns exceeds the capacity of
one page, the preparation process loops infinitely into page 1 and ends with
a stack overflow.

Problem 2

If the number of rows exceeds one page, additional pages are prepared, but
the page header of next pages (after the first) is not visible, while a
child band depending of this page header is.

Problem 3

Amounts in several cells are not printed. However, the OnGetValue sends the
correct amount to the report. This can be seen on the total of the row
computed correctly from [SUM([CELL])] even if amounts are apparently missing
on the row.

Problem 4

When setting HideZeros to false - in order to investigate problem 3 - some
cells show "0.00", while others remain empty.

Thanks for any help.
BJL

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:51AM
    The demos 13.frf is based on preset values in the datasource properties for
    the data band's
    for an example of how to use crosstab bands with a table or query
    for masterdata look at the printable2demo.
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.