how to use a subform to add more information

Toeying

Registered User.
Local time
Today, 07:00
Joined
Jul 30, 2010
Messages
79
Hello, I am trying to use a subform to get some extra information about my contacts. for example for a parent, have a command button to open the subform to add a child. I need this subform to pick up the parents ID and then save the childs details in the child table.
Also in view mode, I want the subform to pop up with the details of every child linked to the parent.
I know how to add the subform to the main form but, I don't know how to get the parents ID to be linked with the "add child" subform. Thanks a mill

Toyin
 
Set Master Link Fields and Child Link Fields propereties of the subform control to ParentID.
 
well, the sub form is not embedded on the main form so masterlink and child flink dont appear in the properties. I am using a pop up subform opened by a command button. thanks
 

Users who are viewing this thread

Back
Top Bottom