passing and liknking data between 2 forms
I have two basic forms, each with a sub and a subsub form.
The first is for the main assembly type with a sub form for the serial numbers and a subsub form to track its history, (FrmMainItem)
The second form has the same structure but is for any sub assemblies, (FrmSubItem)
I can link both forms so that when a button is pressed on FrmMainItem FrmSubItem opens with the relevant sub assemblies.
I have a table for each form and sub form(6 in total):
Main item details
Main Item Serial Number (can be more than one)
Main Item Movement details. (need to capture movement history of the specific item).
These are repeated for the Sub Assemblies
My problem is when I want to create a new set of data using FrmSubForm.
How can I place the FrmMainItem [PartNum] value into the FrmSubItem[PartNum] field automatically.
I have two basic forms, each with a sub and a subsub form.
The first is for the main assembly type with a sub form for the serial numbers and a subsub form to track its history, (FrmMainItem)
The second form has the same structure but is for any sub assemblies, (FrmSubItem)
I can link both forms so that when a button is pressed on FrmMainItem FrmSubItem opens with the relevant sub assemblies.
I have a table for each form and sub form(6 in total):
Main item details
Main Item Serial Number (can be more than one)
Main Item Movement details. (need to capture movement history of the specific item).
These are repeated for the Sub Assemblies
My problem is when I want to create a new set of data using FrmSubForm.
How can I place the FrmMainItem [PartNum] value into the FrmSubItem[PartNum] field automatically.