Currently the button that I have is associated with a query. When the button
is pushed it asks you to enter a date. If someone pushes that button, then
decides that they pushed the wrong thing, when they press the cancel button
to get rid of the message the whole form shuts down and they are taken to the
database base menu. I want the user to have the option to press cancel but I
want the form to stay up.
"Rick Brandt" wrote:
> WMorsberger wrote:
> > I have a button on my form that when you press the button it asks you
> > to enter the date. If you press the cancel button it shuts the form
> > down and takes you to the database window. Is there a way that if
> > the cancel button is pushed that the form will remain up? Can
> > someone please help?
>
> Eliminate the button's code?
>
> Seriously, I assume you mean that "under certain conditions" you want the
> Cancel button to behave differently than it normally does. What are those
> conditions and what do you want it to do differently?
>
> --
> Rick Brandt, Microsoft Access MVP
> Email (as appropriate) to...
> RBrandt at Hunter dot com
>
>
>
|