Hi Sanda, I am afraid I did not explain it too well, sorry. First of all I understand what you mean with the example code by using the FillReport method. Whenever I want to start the reports from a Java program I can use it but that is not the case. I want to run the reports from a web server but I want to have 1 report for all the three environments (dev, acc, live) where I can select the required DB. Now I have 3 copies of the reports on my Jaspersoft server and I specify the DB at the properties level of each report. I want to have for instance the possibility at startup of the report to select the environment and this selection causes to set the correct DB, that is what I meant within iReport. Regards, Patrick