If I understand this correctly, you want to handle the scenario where the user needs to cancel (or close) out of the dialog window, even though they may have already selected a menu item on Form B? From what it sounds like to me, the commit to your parent form would have already occurred since you have a "Commit Changes" in your AL that fires on Menu Selection on Form B. What I would suggest is:
1. Remove the "Commit Changes" action from your AL that fires on Menu Selection on Form B. 2. Add the "Commit Changes" action (before the Close Window action) to the AL that fires on your [OK] button (I assume that one exist). 3. On your [Cancel] or [Close] button, just have the "Close Window" action. This way, the selected values from Form B should only get written to the parent form if the [OK] button is clicked on Form B. HTH Leonard Neely Column Technologies From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of John Kelley Sent: Wednesday, July 15, 2009 11:23 AM To: arslist@ARSLIST.ORG Subject: Re: Close dialog window without saving I don't have a commit changes action before the close window of that AL. There is a commit changes in one of my other active links that runs on a selection of an item from that Form B. JK Joe DeSouza <joe_rem...@yahoo.com> Sent by: "Action Request System discussion list(ARSList)" <arslist@ARSLIST.ORG> 07/15/2009 12:21 PM Please respond to arslist@ARSLIST.ORG To arslist@ARSLIST.ORG cc Subject Re: Close dialog window without saving ** You do not 'Commit Changes' before closing. A 'Commit Changes' action before closing a dialog, populates the values from the Dialog to the Parent.. Joe _____ From: John Kelley <john.kel...@dunkinbrands.com> To: arslist@ARSLIST.ORG Sent: Wednesday, July 15, 2009 11:01:24 AM Subject: Close dialog window without saving Hi List I have a selection field on (form A) that opens a dialog window (form B) which does a lookup. I have two fields mapped on close to populate on the parent Form A when the item is selected. My selection works great and populates my Parent form. My question is how can I close out of the dialog window without setting the selection field on Form A and keeping the original item before I selected it. I set up an Active link with a close window action but it still picks up the item I selected from From A after the dialog window is closed. Any ideas. JK _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers Are"_ ************************************************************* This e-mail message, including any attachments, is for the sole use of the addressee(s) to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Dunkin' Brands Inc. makes no warranty that this e-mail is error or virus free. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"