Open & edit linked record in report

Open & edit linked record in report

I have created an 'archive' custom button in an 'orders' report.

On click of 'archive', I want to open the record of the CUSTOMER that this order relates to. Customer is a lookup field and therefore has a link to view the customer record in the report, but I want to edit it on click. 

This is the code I'm trying based on what I've read in other threads but it's not working: 

openUrl("https://creatorapp.zoho.eu/myname/myappname/#Form:Customer/record-edit/#Report:Customer" + input.Customer + "/","New Window");

Am I going wrong with the input.Customer bit?