Load page data via ID

Load page data via ID

Hi,

I have a button on a report which I want to open the record via the group id I pass to it. I must be missing something as I cannot get it to work and have read as much as I can.

It simply loads a single report with the samples that are assigned to that group.

When the button is clicked it executes:
  1. openUrl("#page:group_summary1?group_id=" + input.group_id,"popup window","height=1000,width=1000");
1) I have set the page parameter to group_id, Group_ID - you name it, i've tried it. 
2) I have assigned parameters to the report itself that is based on the page such as Group_ID=input.group_id and ?Group_ID=input.group_id.

I have tried to load the page independently and passed a value in the URL such as page:group_summary1?group_id=22 - This doesn't work either and just loads all groups and their data, not just group 22. 

Can somebody please point me in the right direction as I'm missing something glaringly obvious or overthinking this.

Thanks

Nick