I am using MS Access 2016 and building a form to run a query that enables users to only extract columns that they need. I am planning on doing this with a checkbox for every column. How can I do this? I have tried the following but it does not work. It gives me a Compile Error: Method or data member not found.
Private Sub chk1_AfterUpdate()
Me.column4.Visible = Nz(Me.chk1 = True, False)
End Sub
Private Sub Form_Current()
Me.column4.Visible = Nz(Me.chk1 = True, False)
End Sub