There's an easier way.  Button property "SaveRecord".  Set that to
"No" on all the button that you don't want to automatically save your
record.

Steeve

--- In [email protected], "syed baber"
<[EMAIL PROTECTED]> wrote:
>
> Thanks Abdul Samad. The problem has been solved now but I am wondering
> whether is it recommended to use task method on the form to capture
the save
> event.
> 
> Thanks
> Syed Baber
> 
> On Fri, Nov 14, 2008 at 1:44 PM, Abdul Samad Patel <
> [EMAIL PROTECTED]> wrote:
> 
> >   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]<syed.nedian%40gmail.com>>
> > 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]
> >
> > 
> >
> 
> 
> [Non-text portions of this message have been removed]
>


Reply via email to