Add main form field data in subform row

Add main form field data in subform row

Hello Everyone.

this is very urgent, please help me

I have a main form that has a single line field that is Employee id, I want to perform an action when employees fill it will be copied in a subform row that is also employe id. it will be pasted from on load time.