copying records within subforms

  • Thread starter Thread starter T Best
  • Start date Start date
T

T Best

Hi all,

I have a form with several subforms. With a click of a button i want to copy
the main
record and all data in the subforms that is linked to the main record.

what is the easiest way to do this?

TIA
Ted
 
Copy to where?

If the user can, and has, made changes to the information, do you want the
changes saved to the new location, and, also, do you want the changes saved
to the original location, too?

If there are multiple related records displayed in the Subform Controls, do
you want them all saved, but with a Foreign Key to the main Record in its
New Location?

The "generic answer" is, you will need to accomplish this using VBA code in
the Click event of the Command Button.

Larry Linson
Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top