Copy Name from form to sub form

Copy Name from form to sub form

I've read through all the topics, but I cannot get it to work.  Seems to be simple.

Main form is named "Contacts", sub-form is "Invoice".  I just want the field "company" to populate into the sub-form.

on load on "Inventory" 

Input.company = company.company


Help please!