Add specific field value to URL

Add specific field value to URL

Hi Everyone.

I have the following code which is set to run from a subform when the user selects a value from a lookup field "Plant_Key" the URL opens a report but i want the report to be filtered on the matching field/value. so in the report there is also a field named "Plant_Key"

  1. openUrl("#Report:Order_Stock_Report_pop_up?plant_key=value goes here","popup window");