eSCAPE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

sIR
I wanted to refresh controls which i have built... making lock property of
controls to true, when user escape records half filled before saving in form.
so that when he re enters a fresh from first record, it enables control to
true.
Pls guide which event should be used which senses that use has cleared all
unsaved data.
 
sIR
I wanted to refresh controls which i have built... making lock property of
controls to true, when user escape records half filled before saving in form.
so that when he re enters a fresh from first record, it enables control to
true.
Pls guide which event should be used which senses that use has cleared all
unsaved data.

I'm not sure I understand the question. Normally one would not want
the user to "clear all unsaved data". Instead, you would use the
Form's BeforeUpdate event to see if the data entered is in fact valid.

In that event you can set Cancel = True to prevent an incomplete
record from being entered, and you can put in a line

Me.Undo

to erase all the user's input.

John W. Vinson[MVP]
 
Back
Top