J
julief
I have a data sheet form in which I want to enforce entry in Date Issued
before Date Returned is completed. Both are set to short date field
properties in the table.
I have included the following code in the after update property on Date
Issued but I keep getting debug - would be very grateful is someone could
point out where I am going wrong. I have tried to move IsNull to before
Me.Date Issued but this still wont work.
Private Sub Date_Issued_AfterUpdate()
If Me.Date_Issued IsNull Then
Me.Date_Returned.Enabled = False
Else
Me.Date_Returned.Enabled = True
End If
End Sub
before Date Returned is completed. Both are set to short date field
properties in the table.
I have included the following code in the after update property on Date
Issued but I keep getting debug - would be very grateful is someone could
point out where I am going wrong. I have tried to move IsNull to before
Me.Date Issued but this still wont work.
Private Sub Date_Issued_AfterUpdate()
If Me.Date_Issued IsNull Then
Me.Date_Returned.Enabled = False
Else
Me.Date_Returned.Enabled = True
End If
End Sub