This does work in the sense that it opens the edit enquiry form for the specified customer but not for the sites.
For example:
If you are viewing CustomerID (2) and are viewing the second record in the site subform which would be (My Site 2), when the the EDIT button is clicked the EDIT Enquiry...