Allowing edit on forms.

R

Rodolfo Fontes

Hi group,

Is there anyway to check is the form is being edit?
I want to show a message is the user change the form while editing
another one.

Thanks,
Rodolfo Fontes
 
A

Allen Browne

The form's Dirty property is True if an edit is in progress.

If Me.Dirty Then
MsgBox "You're editing"
End If

In recent versions of Access, there is also a Dirty event which fires when
you dirty a record, but - depending on version - may not work if the record
is dirtied by assigning a value programmatically.
 
Top