ACC2000: How to Duplicate a Main Form and Its Subform Detail Records (208824)
The information in this article applies to:
This article was previously published under Q208824 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY
The Command Button Wizard provides a Duplicate Record command button that
you can use to duplicate the current record; however, this command button
does not duplicate any detail of the records associated with that record
that may appear in a subform.
This article describes how you can automate the duplication of a main form
record and its associated subform detail records. The article shows you how
to add a command button to the Orders form of the sample database
Northwind.mdb that duplicates the current
order into a new order. The article then shows you how to use the new
command button.
REFERENCESFor more information about the relationship between forms and subforms, click Microsoft Access Help on the
Help menu, type subforms: what they are and how they work in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto kbusage KB208824 |
---|
|