US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: handling multiple tables in JFreeReport

  1. #1
    Join Date
    Mar 2003
    Posts
    4,947

    Default handling multiple tables in JFreeReport

    Hi!

    I was searching for a report builder... and I found JFreeReport. It's very very nice!
    I was wondering if this software has the possibility to handle data collected from 3 or more tables.
    In our environment we have to print data from 3 different tables and every data has to be groped.
    An exemple of a report could be like this:

    table A
    condition 1
    record 1
    record 5
    record 7

    condition 2
    record 2
    record 4

    table B
    condition a
    record 1
    record 3
    condition b
    record 2
    record 4

    table C
    condition I
    record 1
    record 2
    condition II
    record 4
    condition III
    record 3

    Is this possible? How?

    In the documentation I found that JFreeReport uses TableModel to collect data....
    Does it handle ony one instance of a TableModel? For Instance, Can I create three TableModels one for each table?

  2. #2
    Join Date
    Mar 2003
    Posts
    7,557

    Default

    Hi,

    this is not possible in JFreeReport. We support a single tablemodel, and the whole internal reporting process is tailored to that limitation.

    Multiple reports (and therefore tablemodels) will be possible once we implement subreports; but this is science-fiction at the moment. The plans for this are made, and if the gods have mercy, then we'll have that feature implemented in october or november..

    Have more fun,
    said Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •