This is probably a very simple question.  I have a parent table and a child table.  The parent table has a form, and the child table has a subform within the parent's form.  The parent's PK is an autonumber.  The child table has a field for the Foreign Key as a number.  What I would like is when the user enters data in a row of the subform, the FK in the child table is automatically set to the parent's PK.  The subform is used in more than one form, so I would like to avoid hard coding anything in the subform, if possible.
If someone could help me, I would appreciate it.
Thank you,
Steve Geller
 If someone could help me, I would appreciate it.
Thank you,
Steve Geller
 
	 
 
		 
 
		