Report - Dynamically add a table
Posted: Fri Aug 07, 2009 12:54 pm
by Anonymous >> Thu, 27 Oct 2005 22:56:37 GMT
Hi,
I am creating a report dynamically using jades createPrintForm.
What I want to do is add dynamically a table to the report and populate it. I cant get the table to show on the report. (I cant use the Painter to generate the report either).
Prints everything except the table.
Any suggestions.
Thanks
create vPivotTable transient;
vFrameDetails := vRpt.newFrame(details);
vPivotTable.parent := vFrameDetails;
vRpt.addControl(vPivotTable);
vPivotTable.columns := 2;
vPivotTable.rows := 15;
vPivotTable.defaultRowHeight := 20;
vPivotTable.fixedRows := 1;
vPivotTable.addItemAt("Hello" & Tab & "Troy Here",1);
//Print Heading.
vRpt.printFrame(headings);
vRpt.printLine(1);
vRpt.printFrame(details);
Hi,
I am creating a report dynamically using jades createPrintForm.
What I want to do is add dynamically a table to the report and populate it. I cant get the table to show on the report. (I cant use the Painter to generate the report either).
Prints everything except the table.
Any suggestions.
Thanks
create vPivotTable transient;
vFrameDetails := vRpt.newFrame(details);
vPivotTable.parent := vFrameDetails;
vRpt.addControl(vPivotTable);
vPivotTable.columns := 2;
vPivotTable.rows := 15;
vPivotTable.defaultRowHeight := 20;
vPivotTable.fixedRows := 1;
vPivotTable.addItemAt("Hello" & Tab & "Troy Here",1);
//Print Heading.
vRpt.printFrame(headings);
vRpt.printLine(1);
vRpt.printFrame(details);