On a previous post dated 4-8-4, lupins46 (MIS) response was:
The first thing to stress here is that if you allow users access to data through table datasheets then there is nothing you can do to track what is going on.
Control of user actions is only possible if the data is viewed/modified through forms.
The simplest approach is not to delete anything. Just put a deletion flag (Yes/No field) on each table (along with a deletion date/time field and username field, if you wish) and then modify your queries and object sources to ignore the deleted items.
You would need to trap the delete event for each form and cancel it, setting the flag through code in the process.
My next choice would be a separate archive database file. You would still use the trapping code but you would first append the record to a corresponding table in the archive database; the deletion could proceed as normal then.
Could you please explain,on how I can do this. What is the first step to the deletion process. What is the code and where would I put it. How do I trap the delete event in my form. Also, how do I do a separate archive and so forth. I would appreciate your help. This is exactly what we were looking for in our database.
The first thing to stress here is that if you allow users access to data through table datasheets then there is nothing you can do to track what is going on.
Control of user actions is only possible if the data is viewed/modified through forms.
The simplest approach is not to delete anything. Just put a deletion flag (Yes/No field) on each table (along with a deletion date/time field and username field, if you wish) and then modify your queries and object sources to ignore the deleted items.
You would need to trap the delete event for each form and cancel it, setting the flag through code in the process.
My next choice would be a separate archive database file. You would still use the trapping code but you would first append the record to a corresponding table in the archive database; the deletion could proceed as normal then.
Could you please explain,on how I can do this. What is the first step to the deletion process. What is the code and where would I put it. How do I trap the delete event in my form. Also, how do I do a separate archive and so forth. I would appreciate your help. This is exactly what we were looking for in our database.