I do this a bit differently and have an ESC that runs at night to delete these records.
________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Durrant, Michael M. - ITSD Sent: Friday, August 17, 2007 8:31 AM To: [email protected] Subject: Re: Window Close condition ** hmmm... I think I need to explain myself in a little more detail. I have a parent form which I can add child records to. I've created a GUID/timestamp field that I use to relate the child form to the parent form until the parent form has been saved and I have a request ID to relate by. If the user closes the parent form without saving it, I want to delete the child records that were created. Currently, I have the active link set to fire on Window Close with a qualification of "'Request ID' = $NULL$" (indicating that the parent request hasn't been saved yet) - it executes a run process Application-Query-Delete-Entry to delete all the child records that match the GUID/timestamp field. That works as expected, with the exception that it runs before the user actually CLOSES the form. ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Pargeter, Christie Sent: Friday, August 17, 2007 8:57 AM To: [email protected] Subject: Re: Window Close condition ** I have made 2 buttons on my screen to do this sort of thing. 1 - Save & Close 2 - Don't Save & Close The Save & Close has 2 ALs the first does the PERFORM-ACTION-APPLY and the 2nd AL does the close window. Since it is not in the same AL and they do not pass a filter it will stop the close window action. The Don't Save & Close sets the change flag on the form then closes the window. ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Durrant, Michael M. - ITSD Sent: Friday, August 17, 2007 7:52 AM To: [email protected] Subject: Window Close condition ** ARS 7.0.01 I have an active link that fires on Window Close. The problem I have is: 1) User modifies form 2) User closes form without saving and is prompted to save due to changes. You would think the AL would fire only if the user confirmed closing the window. Au contrare - it fires as soon as it prompts the user. If the user presses Cancel, the action has already fired. Am I using this thing right? Is there another condition I should be looking at? Thanks for your time - Michael The information contained in this email may be privileged, confidential or otherwise protected from disclosure. All persons are advised that they may face penalties under state and federal law for sharing this information with unauthorized individuals. If you received this email in error, please reply to the sender that you have received this information in error. Also, please delete this email after replying to the sender. __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ The information contained in this email may be privileged, confidential or otherwise protected from disclosure. All persons are advised that they may face penalties under state and federal law for sharing this information with unauthorized individuals. If you received this email in error, please reply to the sender that you have received this information in error. Also, please delete this email after replying to the sender. __20060125_______________________This posting was submitted with HTML in it___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

