Hi All, |
Re: Trigger to show dialog box while closing a module My "pre" triggers routinely do this:
pre-close-module triggers can easily have a bug preventing closing completely, requiring aborting the DOORS.exe process and may leave locks in the database. Code them very cafefully. As for your actual problem: I believe there is no perfect solution and am sure there is no elegant solution. I believe you will need to prevent errors as best you can and live with that; having some background program that looks for these null values. The user can save the module and then downgrade it to read, and THEN close the module; which would make your checking OBE. I think I would have some form of pre-obj-sync trigger as well as a pre-module-close trigger to protect yourself as best you can. -Louie I don't know what statuses "trigRunOK" and "trigError" are for. |
Re: Trigger to show dialog box while closing a module llandale - Fri May 25 15:41:07 EDT 2012
pre-close-module triggers can easily have a bug preventing closing completely, requiring aborting the DOORS.exe process and may leave locks in the database. Code them very cafefully. As for your actual problem: I believe there is no perfect solution and am sure there is no elegant solution. I believe you will need to prevent errors as best you can and live with that; having some background program that looks for these null values. The user can save the module and then downgrade it to read, and THEN close the module; which would make your checking OBE. I think I would have some form of pre-obj-sync trigger as well as a pre-module-close trigger to protect yourself as best you can. -Louie I don't know what statuses "trigRunOK" and "trigError" are for. I will try to code care fully to avoid locks . Thanks again for letting me know the pros and crons |