Thanks for you quick anser
I have set them not from the report events. I have a form which set filter, open the report in ReportView and set up those two boxes.
The report is filtered, the boxes contain correct information. Then I want to open the report in Print preview and the boxes are not...