Without knowing how your form is set up I can't answer this.
Is your structure like this:
MAIN FORM---->SUBFORM1---->SUBFORM2
If all the forms are bound forms (which you indicate you have done I think) then subform2 will inherit the key field from subform1 whenever you add something new to subform2. Subform1 will inherit the key field from MAIN FORM whenever you add something new to subform1.
Or is your structure like this:
Code:
------>SUBFORM1
MAIN FORM<
------>SUBFORM2
And you're trying to pass a value from subform1 to subform2 without them being related via parent/child?