Should I put the code in the AfterUpdate of the form or the subform (I tried both, but it didn't seem to do anything)? Also, how can I refer to the column I want hidden?
Here's what I tried
Code:
If Me.cmbPrecision = "Yes" Then
Me!sbfrmEquipResults.[Further Problems].ColumnHidden = True
Else
Me!sbfrmEquipResults.[Further Problems].Column Hidden = False
End If
Uasge Example: Forms![Form1]![Form2].Form![txt1].ColumnHidden = True
Form1 is main form
Form2 is subform
txt1 is field name for column that will be hidden
Also remove the space between 'Column' and 'Hidden'
Put the code in the after update event of the combo box