Form problem

m17347047711116

Registered User.
Local time
Today, 20:23
Joined
Feb 4, 2002
Messages
68
Have a form with several fields within, would like all fields to be unavailable for entry until the first required field is complete.

[Department]
[Job]
[Classification]

Would like to have no access to [Job] or [Classification] until [Department] field is completed.
 
Fields

Put the following code in the On Current Event of the form:

If IsNull(Me.Department) Then
Me.Job.Enabled = False
Me.Classification.Enabled = False
Else
Me.Job.Enabled = True
Me.Classification.Enabled = True
End If
 
Also,

Me.Job.Enabled = Not IsNull(Me.Department)
Me.Classification.Enabled = Me.JobEnabled
 

Users who are viewing this thread

Back
Top Bottom