Thanks, for your help I did what you say It work. But I have a another problem with ireport. I want to use user define parameter as optional, I take data from database, I use three parameters in my query, two of them is always entered by users, one of them is optional, if user dont enter any data parameter. query take all data depend on this parameter. Ä°f user enter a value for this parameter query use this parameter value. My code example is: mud.Id=$P{mudId} t.Id=$P{ttId} s.Id like $P{sid}--- > I want to use this parameter as optional If user dont enter any data it take all s.Id from database. If user enter any value for $P{sid} parameter. This value used by s.Id But this code dont work. Can you help me...