Passing a record and filtering the query

Task Passing a record from “MCROrderNotes” form and filtering the query by it on “SysOutgoingEmailTable” form. Since both of the objects were standard forms, I had to use extensions. That is why passing a record by code slightly changed since...