Hello, I would like to add parameters to the select block of an SQL statement. Something along the lines of : Select Name ,job ,address ,$P{Group} ,$P{Group2} from table where date between $P{Start} and $P{End} group by Name ,job ,address ,$P{Group} ,$P{Group2} so the two parameters that are passed in will be used as a grouping method plus they need to fill in fields in the report. I have tried playing with the ! in the SQL statement but it doesnt help. The WHERE block works fine, the problem is in the GROUP BY and SELECT blocks of the statement. IF anybody has any idea how to make this work, I would appreciate the help. Let me know if you need more information.