I have a record that I don't want to be updated, so I want to disable all of the fields in the subform when this record appears. I can get it to work if I list out each field individually, but is there a way to go through all of the controls on the subform disable them with something like this?
Thanks
Dim ctrl As Control
For Each ctrl In Me.SubForm
ctrl.Enable = False
Next ctrl
Thanks
Dim ctrl As Control
For Each ctrl In Me.SubForm
ctrl.Enable = False
Next ctrl