Moving Records of one table to another

  • Thread starter Thread starter Beatrix J B
  • Start date Start date
B

Beatrix J B

Hi!

Where can I find an example where in if i push a button on a form ... it
would transfer the selected record to another table.

Thanks.
 
Hi!

Where can I find an example where in if i push a button on a form ... it
would transfer the selected record to another table.

Thanks.

The button code could execute an Append query.

However... it's VERY likely that your table design is flawed, if you
need to do this! Storing the exact same record values in two different
tables would be redundant, and redundancy is Evil.

What are these tables, and why is this operation needed!?

John W. Vinson[MVP]
 
Actually ... after pushing the button ... would like to transfer the record
or copy some of the fields in that record to another table and delete the
record
 
Actually ... after pushing the button ... would like to transfer the record
or copy some of the fields in that record to another table and delete the
record

See Allen's response then.

I still suggest that this may not be necessary. It's often just fine
to just add a yes/no field Archived to your table; if you want to
"move" a record out of sight, base your forms and reports on a query
selecting records with Archived = False, and set the field to True to
hide it.

John W. Vinson[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