1 - Create a new variable in your report and put it how first of all. 2 - In Initial Value put: ExecScript("Select curReport").