Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplicating records in subform

Status
Not open for further replies.

achau

Technical User
Apr 16, 2001
34
GB
How can I copy all the related records in a subform when I create a new record in the mainform?

I have created a button in the mainform so that when it's pressed, the data in the mainform are copied into a new record (same data table), with one of the keys "versionid" linking the mainform and subform (the parent and child tables) increasing by 1. However, I cannot figure out how to copy all the related data in the subform at the same time.

Any help appreciated.

Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top