Cancel Deactivate?

  • Thread starter Thread starter Chris C.
  • Start date Start date
C

Chris C.

I have a form which I want to prevent a user moving off of if some element
of it's dirty row is unacceptable. I'm not achieving success here. I have
a 'Dirty=False' on the deactivate, but even if the BeforeUpdate cancels, the
user can move off the form. How can I cancel this move, or bring the form
back into focus? Chris
 
Chris C. said:
I have a form which I want to prevent a user moving off of if some element
of it's dirty row is unacceptable. I'm not achieving success here. I have
a 'Dirty=False' on the deactivate, but even if the BeforeUpdate cancels, the
user can move off the form. How can I cancel this move, or bring the form
back into focus? Chris

You can make the form modal in which case they won't be able to move focus to
anything else unless they *close* the form. You CAN prevent the form from
closing using the BeforeUpdate cancel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top