Please do not double post on the forum! It potentially wastes the time of the
very people you're asking for help! The person responding on one post has no
way of knowing what's been suggested to you on the other post, and whether or
not the suggestion helped!
If, after a reasonable time, you have not received help, you may move yur
original post back up to the head of the queue, where it's likely to receive
more attention, by simply posting a reply with the message "Bump"
http://www.accessmonster.com/Uwe/Forum.aspx/access-forms/46914/Locking-a-Required-Field
The answers the same as it was two days ago at the above posting!
Private Sub Form_Current()
If Not IsNull(Me.DueDate) Then
DueDate.Locked = True
Else
DueDate.Locked = False
End If
End Sub
This goes in the code module behind your form. Anytime you receive code
that's in the style
Private Sub SomeControlNameForm_SomeEventName()
this is a subroutine that goes in the code module that's underlies your form.
And why have you changed your username from JudyB to Rosebud? Please pick one
and stay with it. I knew that I had already answered your question and spent
a great deal of time looking for it because I assumed you posted it under
Rosebud.