K
Keith
I have a form, that a couple people use. Can I take the below and lock two
fields instead of 1? The two fields would not always have data in them at the
same time. One person opens the form, does their work, then another person
does their work and closes it, I want to be able to lock those fields so the
next time it opens those two fields are locked.
Would I just duplicate the same code and have 2 on current events?
Private Sub Form_Current()
If Not IsNull(Me.DueDate) Then
DueDate.Locked = True
Else
DueDate.Locked = False
End If
End Sub
fields instead of 1? The two fields would not always have data in them at the
same time. One person opens the form, does their work, then another person
does their work and closes it, I want to be able to lock those fields so the
next time it opens those two fields are locked.
Would I just duplicate the same code and have 2 on current events?
Private Sub Form_Current()
If Not IsNull(Me.DueDate) Then
DueDate.Locked = True
Else
DueDate.Locked = False
End If
End Sub