2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Mike Warne - mwarne Is Connection available to Scriptlets? 2004-07-22 13:47 Hi I would like to have the report connection available to my Scriptlet. At report init time, I need to do a query and save some data in memory for use later by the Scriptlet. Is there a way for me to get the Connection object from the report? Thanks, Mike. By: Mykel Alvis - evilarchitect RE: Is Connection available to Scriptlets? 2004-07-22 14:48 REPORT_CONNECTION is available at runtime if and only if you supplied a connection when you did the fill. REPORT_DATASOURCE is always available, no matter what. It's type is dori.jasper.engine.JRDataSource You should have no trouble accessing those from the Scriptlet using this.getParameterValue By: Mike Warne - mwarne RE: Is Connection available to Scriptlets? 2004-07-22 15:49 Thanks, Is REPORT_CONNECTION a Variable, Parameter or what? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now