You can override task method in the form. Use '272' the ID to catch save event and show the dialog box over there. See if this helps if not please give me some details of your scenario. Thanks & Regards, Abdul Samad Patel http://msdax.blogspot.com Contact - 425-502-1175
On Wed, Nov 12, 2008 at 1:01 PM, syed baber <[EMAIL PROTECTED]> wrote: > Hi All, > > I have to display a modal dialog box with yes/no buttons on some > conditions when the record is saved on the form. I have written a > validatewrite() method on datasource. The problem is that when some changes > is made on the form and a button is clicked on the form then in that case > validatewrite() method is called and dialog box is displayed. How can I > prevent the call to validatewrite() other than the save button on the form. > Please let me know at the earliest. > > Allah HAfiz. > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed]

