This assumes that you've named the frame in which the view displays "NotesView", which is the normal standard. If not, either change the frame name or if you must, change the code above to reflect your naming.
Note: This code assumes EmpName is formatted as a common name (e.g. Kevin Pettitt) as opposed to an abbreviated name (e.g. Kevin Pettitt/MyDivision/MyCompany). Change the @Name code above to @Name([Abbreviate]... or whever format required if you need to ensure the formats match.
Note 2: If you decide to change the *column* to a formula (e.g. @Name([CN]; EmpName) ) in order to match formats, then you will need to change the "EmpName" part of the formulas to the *programmatic* name of the column (look on the last tab of the column properties box - rename the Name field there if you like but make sure that value matches the formulas)
Something like $EmpName should work, in which case your new formula for step 3 would be: