GrandMasterTuck
In need of medication
- Local time
- Today, 18:31
- Joined
- May 4, 2013
- Messages
- 129
Hi folks! I've attached a sample database below, and I'm hoping one of you can teach me how to accomplish this task:
On my main form (frmMain), I have a button that is supposed to duplicate the Main Form record, and also duplicate all associated records from the subform. I know how to duplicate the MainForm record, but I have absolutely no idea how to get that same button to also copy all the associated records in the subform and assign them to the newly created main form record.
I would imagine it requires some VBA, but I don't even know where to begin to add that logic (I still use the Macro Editor to get buttons to do stuff). Anyone have any idea?
On my main form (frmMain), I have a button that is supposed to duplicate the Main Form record, and also duplicate all associated records from the subform. I know how to duplicate the MainForm record, but I have absolutely no idea how to get that same button to also copy all the associated records in the subform and assign them to the newly created main form record.
I would imagine it requires some VBA, but I don't even know where to begin to add that logic (I still use the Macro Editor to get buttons to do stuff). Anyone have any idea?
Attachments
Last edited: