G
Guest
In a continuous form, I have fields memAction and dtmComplete. I do not want
users to enter a completion date if the memAction field is null. So I want
the date field initially hidden for each record, then displayed permanently
by record when the memo field is not null. I have tried the following with
no luck:
Form On Load
Private Sub Form_Load()
Me.dtmComplete.Visible = False
End Sub
Memo field after update
Private Sub memAction_AfterUpdate()
If Me.memAction Is Null Then
Me.dtmComplete.Visible = False
Else
Me.dtmComplete.Visible = True
End If
End Sub
Help
users to enter a completion date if the memAction field is null. So I want
the date field initially hidden for each record, then displayed permanently
by record when the memo field is not null. I have tried the following with
no luck:
Form On Load
Private Sub Form_Load()
Me.dtmComplete.Visible = False
End Sub
Memo field after update
Private Sub memAction_AfterUpdate()
If Me.memAction Is Null Then
Me.dtmComplete.Visible = False
Else
Me.dtmComplete.Visible = True
End If
End Sub
Help