I can copy data from a subform with the following:
Private Sub Command2_Click()
frm_subform1.SetFocus
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdCopy
End Sub
I want to copy 2 subforms at the same time, and I don't know how. I have tried the following and it doesn't work:
Private Sub Command2_Click()
[frm_subform1].SetFocus![frm_subform2].SetFocus
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdCopy
End Sub
Can someone please help me with this?
Any help would greatly be appreciated.
Thanks in advance.
Jerome Benton
JERPAT Web Designs
GOD Is Good All The Time!!!
Private Sub Command2_Click()
frm_subform1.SetFocus
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdCopy
End Sub
I want to copy 2 subforms at the same time, and I don't know how. I have tried the following and it doesn't work:
Private Sub Command2_Click()
[frm_subform1].SetFocus![frm_subform2].SetFocus
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdCopy
End Sub
Can someone please help me with this?
Any help would greatly be appreciated.
Thanks in advance.
Jerome Benton
JERPAT Web Designs
GOD Is Good All The Time!!!