I want to enable all controls etc....
Code below geneertaes an error
I then want to use this on the filter action of a form.
Dim frm As Form, ctl As Control
Set frm = Forms!frm_nonroutineoperations
For Each ctl In frm.Controls
ctl.Enabled = True
ctl.Locked = False
ctl.BackColor = 16777215
Next ctl
Code below geneertaes an error
I then want to use this on the filter action of a form.
Dim frm As Form, ctl As Control
Set frm = Forms!frm_nonroutineoperations
For Each ctl In frm.Controls
ctl.Enabled = True
ctl.Locked = False
ctl.BackColor = 16777215
Next ctl