Hi all,
I have a form that has a command button on it. I want this button to open another form and make it a subform to it.
Then names of the two forms is Program_Entry and Program_Cost
What i have so far is this:
The command button on Program_Entry would have the following code
DoCmd.OpenForm "Program_Cost"
The subform (Program_Cost) would have this as an Form_Open()
Dim FrmA as SubForm
Dim FrmB as Form
Set FrmA = Forms("Program_Cost"
Set FrmB = Forms("Program_Entry"
FrmA.LinkChildFields = [Record Number];[Speaker ID];[Speaker]
FrmA.LinkMasterFields = [Record Number];[Speaker ID];[Fee]
My Question is how do i make the subform (Program_Cost) understand that the Form (Program_Entry) is the Parent Form
If I confused you or you need more information, just ask
Thanks
GTLoco
I have a form that has a command button on it. I want this button to open another form and make it a subform to it.
Then names of the two forms is Program_Entry and Program_Cost
What i have so far is this:
The command button on Program_Entry would have the following code
DoCmd.OpenForm "Program_Cost"
The subform (Program_Cost) would have this as an Form_Open()
Dim FrmA as SubForm
Dim FrmB as Form
Set FrmA = Forms("Program_Cost"
Set FrmB = Forms("Program_Entry"
FrmA.LinkChildFields = [Record Number];[Speaker ID];[Speaker]
FrmA.LinkMasterFields = [Record Number];[Speaker ID];[Fee]
My Question is how do i make the subform (Program_Cost) understand that the Form (Program_Entry) is the Parent Form
If I confused you or you need more information, just ask
Thanks
GTLoco