B
Biggles
I am trying to call this in an after update event, but keep getting a run
Time Error 438, object doesn't support this property or method. I thought I
had done this before, what am I doing wrong.
Public Sub lockctl()
Dim ctl As Control
If DateDiff("d", Me.Date_Closed, Now()) > 45 Then
For Each ctl In Me.Controls
ctl.Locked = True
Next ctl
End If
End Sub
Time Error 438, object doesn't support this property or method. I thought I
had done this before, what am I doing wrong.
Public Sub lockctl()
Dim ctl As Control
If DateDiff("d", Me.Date_Closed, Now()) > 45 Then
For Each ctl In Me.Controls
ctl.Locked = True
Next ctl
End If
End Sub