Add new record from linked form

maxim

Registered User.
Local time
Today, 02:46
Joined
Aug 1, 2008
Messages
13
Is there a way to link two forms by master and child fields so I can add new records from linked form?
 
I think the OP means linking subforms, like subform1 to subform2 for example. Maybe?
 
You mean like a Form/Sub-Form set?

Not exactly. I did create form and datasheet subform. In the sumborm Property Sheet on Date tab I had an option to select Maste Field and Chiled Field to link form and subform and it worked very well. But I need to enter data not from subform but from linked form.
 
I figured thins out

DoCmd.OpenForm "frmContacts", , , "[PlanID] = " & Me.PlanID
If IsNull(Forms!frmContacts.[PlanID]) Then
Forms!frmContacts.[PlanID] = Me.PlanID
End If
 

Users who are viewing this thread

Back
Top Bottom