Hi there Maurice,
Sounds like you want to use database triggers. You will be able to assign triggers to events such like ASSIGN, CREATE, DELETE, FIND and WRITE of database records.
I have not used these in any of my applications but I am sure that another reader will be able to help you, also...