A
Access G-man
I have an equipment maintenance database, I would like to put my inactive
(gotten rid of) equipment in an inactive table, and not loose the
relationship with the maintenance table. basically make two tables. I did a
make table query, made my inactive equipment table. I could not delete the
equipment from my first table due to key rules. I then made a relationship
from my equipment table to my maintenance performed table. could not make a
one to many and enforce integrity due to the first equipment table. I am
going to delete the relationships, run a delete query on my inactive marked
equiment in my equiment table, and see if I can make both equipment and
inactive equipment one to many and enforce integrity. Do you think this is a
good way.
I want to be able to mark a piece of equipment as inactive and have a macro
make it go from one table to the inactive table and not loose its maintenance
records.
Let me know if I am going at it correctly please.
(gotten rid of) equipment in an inactive table, and not loose the
relationship with the maintenance table. basically make two tables. I did a
make table query, made my inactive equipment table. I could not delete the
equipment from my first table due to key rules. I then made a relationship
from my equipment table to my maintenance performed table. could not make a
one to many and enforce integrity due to the first equipment table. I am
going to delete the relationships, run a delete query on my inactive marked
equiment in my equiment table, and see if I can make both equipment and
inactive equipment one to many and enforce integrity. Do you think this is a
good way.
I want to be able to mark a piece of equipment as inactive and have a macro
make it go from one table to the inactive table and not loose its maintenance
records.
Let me know if I am going at it correctly please.