Folks, I am new to jaspoer reports and i have a doubt whether the Jasper reports suports this feature. I would like to generate a report with dynamic queries to be generated while runtime. For eg. select field1,field2,...fieldn from tablename where col1=val1, col2=val2...coln=valn where, field1, field2..fieldn col1, col2.. coln val1, val2,..valn are to be fetched at runtime instead of having static query in the template. I dont think it is possible. I required another way to do it. i want to generate a query like above based on my input data and pass the generated query to jasper report template, compile and generate reports. is this possible to pass a query to template. would be great if any one can help me out. Thanks.