Report with 1 Table and 2 Charts on same page

Hello

I need to create the ‘report’ that will have 1 table (top) and 2 charts (below).
When I’m running it, I’m ending up with 2 pages (only table on Page 1, both charts and no table on Page 2).

Here is the summary of steps I’m using:

Define Variables (title …)
Run LlPrint … (to print variables)

RUN LlPrintEnableObject (enable table, disable charts)
Loop: (to populate table with data)
Define Fields for Table
RUN LlPrintFields (after each row)
End

RUN LlPrintEnableObject (disable table, enable chart1)
Loop: (to populate chart1 with data)
Define Fields for Chart1
RUN LlPrintFields (after each row)
End

RUN LlPrintEnableObject (disable chart1, enable chart2)
Loop: (to populate chart2 with data)
Define Fields for Chart2
RUN LlPrintFields (after each row)
End

RUN LlPrintEnableObject (enable all for printing)
RUN LlPrint …

What am I doing wrong?

List&Label 18 Professional SP02
Windows XP Pro SP3
Progress 9.1E SP4

Jan,

Could you try to enable all three items prior to your first call to LlPrint(), then disable both charts and only enable the table and then on with your code? Does that help? Otherwise, you’d need to look into a log file to better see what’s happening. You seem to be missing a call to LlPrintFieldsEnd() after the table and charts (this would be three required calls), also the last LlPrint() should not be needed (assuming you can make sure all content fits on one page).

All in all, I’d rather use the report container for this, but some tweaking on the code should also help.

G.