I have a database which is slowly evolving. Users needed a feature to delete some records without a trail and some with a trail from the form. So I added an apply action field in the subform using which they can delete a record without a trail and if they wanted to keep a trail they could do that too. When user selects "Delete Violations as it was entered in error" the system deletes the record completely which is what everyone wanted. Everyone was happy.
After six months of use now I am asked to add an audit trail. With the help of forums and examples I managed to do that also. I also looked at Browne's method but my data structure does not match the requirements for that method. I used an alternate method. It works as intended except when a record is completely deleted using the code I mentioned above. Then it goes in the infinite loop. I somehow need to bypass the before update event so that the function to write the audit trail is not called.
Spent the entire week including my weekend for a solution. I call the experts to kindly take a look and suggest a solution. I have attached the database for your review. I am out of all ideas at this point.
After six months of use now I am asked to add an audit trail. With the help of forums and examples I managed to do that also. I also looked at Browne's method but my data structure does not match the requirements for that method. I used an alternate method. It works as intended except when a record is completely deleted using the code I mentioned above. Then it goes in the infinite loop. I somehow need to bypass the before update event so that the function to write the audit trail is not called.
Spent the entire week including my weekend for a solution. I call the experts to kindly take a look and suggest a solution. I have attached the database for your review. I am out of all ideas at this point.