hi,
how i can lock current form or a text in form after click save button?
thanks in advance
alex
hi,
how i can lock current form or a text in form after click save button?
thanks in advance
alex
Form? Not too sure apart from setting the Allow Edits, etc. properties.
Specific control (e.g. text box)? Code something like in the form's after update event
Me.txtYourName.Enabled = False
and/or
Me.txtYourName.Locked = True
You cannot disable a control that has the focus so you may need to have a line of code immediately before the disablement
Me.txtAnotherControl.SetFocus
Last edited by Rod; 07-18-2011 at 07:58 PM.