malkorgan
01-30-2012, 12:43 PM
Dear Pentaho Community,
I'm assessing the Pentaho Report Designer for three weeks,
and i wonder if it is possible with the Pentaho Report Designer to create a Report to exploit the following behaviour:
1)Perform a SQL insert query:
insert into "TABLE_A" VALUES (1,'TEXT')
2)Consequently perform a select * SQL query in the same report:
Select * from "TABLE_A"
I'm using an Oracle DATASET with a User allowed to perform insert in the Oracle DB;
In my Database i've got a TABLE_A with consistent dataformat to the 1) insert instruction;
At the moment i'm able to create a report with only one between the 1) or the 2) query listed above;
If i use query 1) (i'm using filtering parameters too, in order to input the data) when i click "View Report" button, the tuple is inserted in my DB but no data are displayed.
If i use the query 2) i've got all the tuple displayed but no possibility to prior insert a tuple, within the same Report execution...
Is there any way to perform the insert prior the select in a Report? (e.g.: using a plsql script with both the istructions?).
I've also tried to use a subreport but without any effect.
Thanks in advance if any of you want to help me.
Best regards
I'm assessing the Pentaho Report Designer for three weeks,
and i wonder if it is possible with the Pentaho Report Designer to create a Report to exploit the following behaviour:
1)Perform a SQL insert query:
insert into "TABLE_A" VALUES (1,'TEXT')
2)Consequently perform a select * SQL query in the same report:
Select * from "TABLE_A"
I'm using an Oracle DATASET with a User allowed to perform insert in the Oracle DB;
In my Database i've got a TABLE_A with consistent dataformat to the 1) insert instruction;
At the moment i'm able to create a report with only one between the 1) or the 2) query listed above;
If i use query 1) (i'm using filtering parameters too, in order to input the data) when i click "View Report" button, the tuple is inserted in my DB but no data are displayed.
If i use the query 2) i've got all the tuple displayed but no possibility to prior insert a tuple, within the same Report execution...
Is there any way to perform the insert prior the select in a Report? (e.g.: using a plsql script with both the istructions?).
I've also tried to use a subreport but without any effect.
Thanks in advance if any of you want to help me.
Best regards