Hi all,
Imagine the following tables who consists of these fields..:
tblPerson (persnr, name, age, etc)
tblWork (workid, date, doneby)
Here 'tblPerson' Holds al the employies of the firm i work for and tblWork holds a list of jobs/tasks that some person has done...
(In our buisines it is important to keep track of who had done what. because we are working with food, and whe have to comply to ISO-standards wich are checked every now and then)
My problem starts when a person who works for us resigns and leaves our compagny. I would like to delete him/her from the table tblPerson so this person can't be selected in different screens and apps. But when i delete him/her from the table tblPerson all the jobs/tasks he/she has done will be deleted due to the cascading effect.
This is what i want to prevent,.. because of the ISO-standards all the tasks and the name of the person who did them have to be kept in our database for later research (if needed)
Does anyone have any hints and tips on how to model these kind of things?
I'd love to hear about it.
Thanx alot
Eelko Heuvelmans, NL