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.
 
Back
Top