G
Guest
Using Access2000,
I have a form with two subforms attached. I would like to create a button
on the main form that would duplicate the entire record displayed including
the information in the two subforms. I was able to use a wizard to create a
button that would create a new record with duplicate info in the fields on
the main form, but not the subforms. When I looked at the Event Procedure
the wizard had created, it contained the following:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70
Not sure what this means. Anyone have any ideas how I can duplicate a
record showing on a form with all the attendant information in the subforms?
I have a form with two subforms attached. I would like to create a button
on the main form that would duplicate the entire record displayed including
the information in the two subforms. I was able to use a wizard to create a
button that would create a new record with duplicate info in the fields on
the main form, but not the subforms. When I looked at the Event Procedure
the wizard had created, it contained the following:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70
Not sure what this means. Anyone have any ideas how I can duplicate a
record showing on a form with all the attendant information in the subforms?