raysefo Posted November 26, 2007 Share Posted November 26, 2007 Hi, Is it possible to have dynamically subreports according to a parameter? I mean, if parameter is 1 then 1 subreport generated if 2 then 2 subreports generated and so on... thanks Link to comment Share on other sites More sharing options...
svenn Posted November 26, 2007 Share Posted November 26, 2007 Is the content of the subreport dynamic or static? Link to comment Share on other sites More sharing options...
raysefo Posted November 27, 2007 Author Share Posted November 27, 2007 static data Link to comment Share on other sites More sharing options...
svenn Posted November 27, 2007 Share Posted November 27, 2007 This example is for Oracle. If your not using Oracle you will have to determine the equvalant table or in the end you can use any table in your database. Just make sure that it has enough records for this to work. Put the following query in your subreport SELECT ROWNUMFROM ALL_OBJECTSWHERE ROWNUM <= $P{number of loops} Number of loops will control how many times your static text will appear in your report. Link to comment Share on other sites More sharing options...
raysefo Posted November 27, 2007 Author Share Posted November 27, 2007 how about dynamic data? Link to comment Share on other sites More sharing options...
svenn Posted November 28, 2007 Share Posted November 28, 2007 You have to experiment. I thing it would be possible. I've only done it with static text. 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