Microsoft Access - Cutting and Pasting between tables

P

puck4343

Currently, we have a database here that keeps records of all our
inventory that is out in production. When we have a piece of equipment
that is removed, it needs to be put into a removal table for
accounting/auditing purposes. Anyway, my question is - Is there a way
when I use the delete key to automatically cut it from one table and
paste it in the the removal table?
 
D

Douglas J. Steele

puck4343 said:
Currently, we have a database here that keeps records of all our
inventory that is out in production. When we have a piece of equipment
that is removed, it needs to be put into a removal table for
accounting/auditing purposes. Anyway, my question is - Is there a way
when I use the delete key to automatically cut it from one table and
paste it in the the removal table?

There's nothing like that built into Access, largely because that's not the
normal way to work with relational databases.

If you know the table you're getting your data from and the table to which
you want to write it, you could create an AutoKeys macro that would cause
whatever code you wanted run to run. However, that would mean that you'd
then be unable to use the delete key for anything else.
 

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

Top