greenockboy Posted January 20, 2007 Share Posted January 20, 2007 Hi Now that I have got my connection to my ingres DBMS I am looking into using it in a scriptlet.I am thinking that if I want to retrieve data from a comppletely different table from the one that is used to fill the report then I will have to do this using a scriptlet. Does anyone know if there is a simple way to 'pass' the connection into the scriptlet to save having to create another one?Many ThanksGB Link to comment Share on other sites More sharing options...
jmurray Posted January 20, 2007 Share Posted January 20, 2007 You could get data from a different table by using a sub-report Link to comment Share on other sites More sharing options...
greenockboy Posted January 21, 2007 Author Share Posted January 21, 2007 Thanks JYes, I thought about that, however I was wanting to try something a little more 'elegant' and keep to just the one report.Passing the already used connection to a scriptlet seemed like a good idea, it's just that I don't know how to do it.RegardsGB Link to comment Share on other sites More sharing options...
vict0r Posted January 22, 2007 Share Posted January 22, 2007 Just guessing, isn't the connection passed to the scriptlet as parameter REPORT_CONNECTION? Or the data source as REPORT_DATA_SOURCE? Victor 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