Can anybody please shed any light on how I might be able to do this ?
Sanjeev Debnath
Greenhorn
Joined: May 25, 2007
Posts: 16
posted
0
This thing you can't do in iReport. You have to generate the jrxml code manually from the java program. First of all read the jrxml file by opening it in any text editor. You can see the various sections into that jrxml. Point out to the <queryString> tag. Just write your query into this place at run time and save your jrxml file. And then do what you want.
Bill attagasam
Greenhorn
Joined: Jun 25, 2008
Posts: 5
posted
0
HI, I modify the query to be like this SELECT * FROM TABLE WHERE $P{whereClauseAsParameter}
from ireport, but I didn't run the report in iREport
I invoked the report from web and I got error msg: Caused by: java.sql.SQLException: ORA-00933: SQL command not properly ended
can someone please help me how to write dynamic query in jasper report...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35245
7
posted
0
Bill, you're better off starting a new thread than to resurrect an old thread that's not even directly related to your question. And even better, start the thread in the "Other Open Source Projects" forum (instead of this one), because that's where JasperReport and iReport are discussed.