ACC: How to Duplicate Main Form and Its Subform Detail Records (132032)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q132032 SUMMARY
Moderate: Requires basic macro, coding, and interoperability skills.
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 (or NWIND.MDB in version 2.0) that duplicates the current
order into a new order. The article then shows you how to use the new
command button.
REFERENCES
Microsoft "Getting Results with Microsoft Office 97," Part 17, Page 649,
"Automate Repetitive Tasks in Microsoft Access"
Modification Type: | Major | Last Reviewed: | 5/7/2003 |
---|
Keywords: | kbhowto kbusage KB132032 |
---|
|