G
Guest
I am creating a new database and I need to be able to lock certain fields
after and date has been entered.
I am using this code (see below) which works in another database but for
some reason it does not want to work my new database. So, if someone can
tell me of another way I will be very grateful..
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.Tag = "LOCK" Then
ctl.Locked = Not IsNull(Me.txtdateresolved)
End If
Next ctl
after and date has been entered.
I am using this code (see below) which works in another database but for
some reason it does not want to work my new database. So, if someone can
tell me of another way I will be very grateful..
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.Tag = "LOCK" Then
ctl.Locked = Not IsNull(Me.txtdateresolved)
End If
Next ctl