ok,
i finally figured out,, I put it in the Event Procedure of the 'on click'
for the checkbox and it is working!!!! yeee haaaaaah
I strung them altogether as shown below.
The only problem is i have to refresh the data after i check or uncheck in
order for anything to happen.
How can i get this to done automatically?
and again, i am a newbie so please if you could tell me exactly where i
need to put code, i would much appreciate it
thanks so much
Private Sub Weekly_Buy_Query_subform_Enter()
Me.Weekly_Buy_Query_subform.Form.Prime_Spots_Posted.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.Rot_Spots_Posted.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.Other_Spots_Posted.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.M.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.T.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.W.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.TH.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.F.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.Total_Calls.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.Actual_Total.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
Me.Weekly_Buy_Query_subform.Form.Source_Num.ColumnHidden = Not
(Nz(Me.CheckboxPost, 0))
End Sub